This document is for py-amqp's development version, which can be significantly different from previous releases. Get the stable docs here: 2.4.
amqp.platform
¶
Platform compatibility.
-
amqp.platform.
pack
()¶ Return string containing values v1, v2, … packed according to fmt.
-
amqp.platform.
pack_into
()¶ Pack the values v1, v2, … according to fmt. Write the packed bytes into the writable buffer buf starting at offset.
-
amqp.platform.
unpack
()¶ Unpack the string containing packed C structure data, according to fmt. Requires len(string) == calcsize(fmt).
-
amqp.platform.
unpack_from
()¶ Unpack the buffer, containing packed C structure data, according to fmt, starting at offset. Requires len(buffer[offset:]) >= calcsize(fmt).