---------------------------------------------------------------------- This is the API documentation for the gdtest_src_google_seealso library. ---------------------------------------------------------------------- ## Functions Public functions encode(data: str, encoding: str = 'utf-8') -> bytes Encode a string to bytes. %seealso decode Args: data: The string to encode. encoding: The character encoding to use. Returns: The encoded bytes. Example: >>> encode("hello") b'hello' decode(data: bytes, encoding: str = 'utf-8') -> str Decode bytes to a string. %seealso encode Args: data: The bytes to decode. encoding: The character encoding to use. Returns: The decoded string. compress(data: bytes, level: int = 6) -> bytes Compress data using zlib. %seealso decompress Args: data: The bytes to compress. level: Compression level (1-9). Returns: The compressed bytes. decompress(data: bytes) -> bytes Decompress zlib-compressed data. %seealso compress Args: data: The compressed bytes. Returns: The decompressed bytes.