in reply to Pulling bytes out of string

unpack?

Replies are listed 'Best First'.
Re^2: Pulling bytes out of string
by locked_user sundialsvc4 (Abbot) on Oct 21, 2015 at 21:06 UTC

    Sure looks to me that the h (or H) formats are just what the doctor ordered.   (FYI:   the format-strings are defined, in very great detail, in perldoc pack.)

      See also perlpacktut.


      Give a man a fish:  <%-{-{-{-<