Pack values and return the packed bytes. Return a bytes object containing the provided values packed according to the struct format string. See help(struct) for more on format strings.
struct/Struct.pack
Struct.pack