Pack the values v1, v2, … according to the format string format and write the packed bytes into the writable buffer buffer starting at position offset. Note that offset is a required argument.
struct.pack_into(format, buffer, offset, v1, v2, ...)