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
codecs.backslashreplace_errors()
  • References/Python/Python/Binary Data

codecs.backslashreplace_errors(exception) Implements the 'backslashreplace' error handling (for

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

IncrementalEncoder.setstate(state) Set the state of the encoder to state. state must be an encoder state returned

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

write(object) Writes the object’s contents encoded to the stream.

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

codecs.decode(obj, encoding='utf-8', errors='strict') Decodes obj using the codec registered for encoding

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

decode(object[, final]) Decodes object (taking the current state of the decoder into account) and returns the resulting

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

reset() Reset the encoder to the initial state. The output is discarded: call .encode(object, final=True), passing

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

codecs.register(search_function) Register a codec search function. Search functions are expected to take one argument, being

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

struct.pack(fmt, v1, v2, ...) Return a bytes object containing the values v1, v2, ... packed according to

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

codecs.getencoder(encoding) Look up the codec for the given encoding and return its encoder function. Raises

2025-01-10 15:47:30