PyDocs

Nav

Binary Data Services

Struct.pack_into

struct

method of Struct
  • Struct.pack_into(buffer, offset, v1, v2, ...)
Pack values and write the packed bytes into the buffer.

Pack the provided values according to the struct 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/Struct.pack_into.
See Also
No see-alsos for struct/Struct.pack_into
0 Notes
No notes for Struct.pack_into