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
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.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
codecs.CodecInfo.decode
  • References/Python/Python/Binary Data

decode The stateless encoding and decoding functions. These must be functions or methods which have the same interface as the

2025-01-10 15:47:30