Add Integer#pack_*
methods for uint*
and int*
types
#430
Labels
binary
Binary data
core_ext
Core Extension
feature
New Feature
help-wanted
Extra attention is needed
Add
Integer#pack_*
methods for alluint*
andint*
types for quickly packing Integers to common C types. These methods should pass the C type Symbol topack
along with**kwargs
.Integer#pack_uint8
Integer#pack_uint16
Integer#pack_uint32
Integer#pack_uint64
Integer#pack_int8
Integer#pack_int16
Integer#pack_int32
Integer#pack_int64
The following methods should not accept
**kwargs
as they use little-endian or big-endian:Integer#pack_uint8_le
Integer#pack_uint16_le
Integer#pack_uint32_le
Integer#pack_uint64_le
Integer#pack_int8_le
Integer#pack_int16_le
Integer#pack_int32_le
Integer#pack_int64_le
Integer#pack_uint8_be
Integer#pack_uint16_be
Integer#pack_uint32_be
Integer#pack_uint64_be
Integer#pack_int8_be
Integer#pack_int16_be
Integer#pack_int32_be
Integer#pack_int64_be
Alias the
*_be
method to*_ne
or*_net
?The documentation and specs can be copy/pasted from
Integer#pack
.This will give
ronin-support
parity with pwnlib.util.packing.The text was updated successfully, but these errors were encountered: