PyDocs

Nav

Binary Data Services

pack_into

struct

function
  • pack_into(format, buffer, offset, v1, v2, ...)
Pack values and write the packed bytes into the buffer.

Pack the provided values according to the format string and write the
packed bytes into the writable buffer starting at offset.  Note that the
offset is a required argument.  A negative offset counts from the end of
the buffer.  See help(struct) for more on format strings.
0 Examples
No examples for struct/pack_into.
See Also
No see-alsos for struct/pack_into
0 Notes
No notes for pack_into