Extern for Python's struct module for packing/unpacking binary data.

Static methods

staticpack(format:String, values:Rest<Dynamic>):Bytes

Return a bytes object containing the values packed according to the format string.

staticunpack(format:String, buffer:Bytes):Tuple<Dynamic>

Unpack from the buffer according to the format string. Returns a tuple of unpacked values.