Edit on GitHub

PString

Summary

Pascal-style length prefix string, with a 2-byte prefix.

Structure

pstring

Name Type Summary
length u2 Length of the string, in bytes.
data str[length] Content of the string, with no null terminator.

Definition

meta:
  id: pstring
  title: PString
  encoding: ASCII
  endian: le
seq:
  - id: length
    type: u2
  - id: data
    type: str
    size: length

Examples

No examples available. Contribute one?