[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bindat docs on length of str, strz, etc types
From: |
Kevin Ryde |
Subject: |
Re: bindat docs on length of str, strz, etc types |
Date: |
Thu, 28 Dec 2006 10:38:09 +1100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
>
> ((marker u16)
> (length u16)
> (data str (eval (- last 2))))
Thanks, it works.
While you're at it, I got a bit confused by strz at first. I wanted
to match a variable-length field that stopped at a 0 byte and I tried
leaving out the length, which didn't work of course. Maybe it could
say something like
A zero-terminated string, in a fixed-length field of LEN bytes.
- bindat docs on length of str, strz, etc types, Kevin Ryde, 2006/12/27
- Re: bindat docs on length of str, strz, etc types, Kim F. Storm, 2006/12/27
- Re: bindat docs on length of str, strz, etc types,
Kevin Ryde <=
- Re: bindat docs on length of str, strz, etc types, Kim F. Storm, 2006/12/28
- Re: bindat docs on length of str, strz, etc types, Kevin Ryde, 2006/12/29
- Re: bindat docs on length of str, strz, etc types, Kim F. Storm, 2006/12/29