pub fn assemble_options(
options: &[PreLoginOption],
) -> Result<Vec<u8>, PreLoginError>Expand description
Assembles a TDS pre-login option table and payload.
Each table entry is encoded as token, big-endian offset, and big-endian
length, followed by a 0xff terminator and then the concatenated option
payloads. Offsets are relative to the beginning of the pre-login message.