Closed chummyhe89 closed 8 years ago
FixedHeaderLength is defined by sizeof(ushort) + sizeof (byte) + sizeof (int) + sizeof (byte); the header length field is included in _headerSize,so can't +2
Looks like you are correct. However, the unit tests says otherwise. they work with the current setup (look at the CodecTests.cs).
i.e. tell me why and I'll adjust them accordingly and accept your request.
FixedHeaderLength is defined by sizeof(ushort) + sizeof (byte) + sizeof (int) + sizeof (byte); the header length field is included in _headerSize,so can't +2