Expand description
Codec utilities for TDS protocol encoding and decoding.
This module provides low-level encoding and decoding utilities used throughout the TDS protocol implementation.
Functionsยง
- read_
b_ varchar - Read a length-prefixed UTF-16LE string.
- read_
null_ terminated_ ascii - Read a null-terminated ASCII string.
- read_
us_ varchar - Read a length-prefixed UTF-16LE string with 2-byte length.
- read_
utf16_ string - Read a UTF-16LE string of specified character length.
- utf16_
byte_ len - Calculate the byte length of a UTF-16 encoded string.
- write_
b_ varchar - Write a length-prefixed UTF-16LE string (1-byte length).
- write_
us_ varchar - Write a length-prefixed UTF-16LE string (2-byte length).
- write_
utf16_ string - Write a UTF-16LE string without length prefix.