codecs.Codec.encode()
  • References/Python/Python/Binary Data

Codec.encode(input[, errors]) Encodes the object input and returns a tuple (output object, length consumed). For instance

2025-01-10 15:47:30
struct.error
  • References/Python/Python/Binary Data

exception struct.error Exception raised on various occasions; argument is a string describing what is wrong.

2025-01-10 15:47:30
struct.pack_into()
  • References/Python/Python/Binary Data

struct.pack_into(fmt, buffer, offset, v1, v2, ...) Pack the values v1, v2, ... according to the format string

2025-01-10 15:47:30
struct.Struct.unpack_from()
  • References/Python/Python/Binary Data

unpack_from(buffer, offset=0) Identical to the unpack_from() function, using the compiled format. The buffer’s

2025-01-10 15:47:30
struct.unpack_from()
  • References/Python/Python/Binary Data

struct.unpack_from(fmt, buffer, offset=0) Unpack from buffer starting at position offset, according to the

2025-01-10 15:47:30
struct.Struct.pack_into()
  • References/Python/Python/Binary Data

pack_into(buffer, offset, v1, v2, ...) Identical to the pack_into() function, using the compiled format.

2025-01-10 15:47:30
struct.Struct
  • References/Python/Python/Binary Data

class struct.Struct(format) Return a new Struct object which writes and reads binary data according to the format string format

2025-01-10 15:47:30
codecs.IncrementalEncoder
  • References/Python/Python/Binary Data

class codecs.IncrementalEncoder(errors='strict') Constructor for an IncrementalEncoder instance.

2025-01-10 15:47:30
struct.Struct.iter_unpack()
  • References/Python/Python/Binary Data

iter_unpack(buffer) Identical to the iter_unpack() function, using the compiled format. The buffer’s size in bytes

2025-01-10 15:47:30
codecs.replace_errors()
  • References/Python/Python/Binary Data

codecs.replace_errors(exception) Implements the 'replace' error handling (for text

2025-01-10 15:47:30