[File] pstring docs
yalhcru at gmail.com
Mon Jan 21 04:21:02 UTC 2019
For file-5.35, the documentation for pstring in the man and info pages says:
H A 4 byte big endian length.
h A 2 byte little endian length.
L A 4 byte big endian length.
l A 2 byte little endian length.
...so H and L are both 4-byte big endian, and h and l are both 2-byte
little. Correct me if I'm wrong, but this seems like it can't be
right. Not sure which is supposed to be which, though.
In my testing, it looks like the lowercase versions are 4-byte and the
uppercase are 2-byte. "l" works as 4-byte little endian, for me. Is this
how it's supposed to work?
More information about the File