databuffer module¶
- class DataBuffer(contents: str | bytes | DataBuffer | int = b'', handle=None)[source]¶
Bases:
object
- Parameters:
contents (str | bytes | DataBuffer | int) –
- base64_decode() DataBuffer [source]¶
- Return type:
- unescape() DataBuffer [source]¶
- Return type:
- zlib_compress() DataBuffer | None [source]¶
- Return type:
DataBuffer | None
- zlib_decompress() DataBuffer | None [source]¶
- Return type:
DataBuffer | None
- unescape_string(text: bytes) DataBuffer [source]¶
- Parameters:
text (bytes) –
- Return type: