SnmpSharpNet icon indicating copy to clipboard operation
SnmpSharpNet copied to clipboard

Trim trailing NULLs

Open scottharman opened this issue 5 years ago • 0 comments

A certain broadcast equipment manufacturers has started packing OctetStrings with NULLs to the full length of the packet, leading to decode errors. This removes trailing NULLs from the input buffer and recalculates the offset if required. I will leave a single trailing null if needed

scottharman avatar Jan 25 '21 12:01 scottharman