omit length bytes from flag data
This commit is contained in:
parent
7315070462
commit
f7a79c5a40
|
@ -155,7 +155,7 @@ size_t Pdu::streamSize() const
|
|||
void Pdu::iStream(Stream stream)
|
||||
{
|
||||
// get the flags
|
||||
flags_._raw = stream->peek();
|
||||
flags_._raw = stream->peek() & 0xf0; // high 4 bits are flags
|
||||
|
||||
// get the length
|
||||
size_t length;
|
||||
|
|
Loading…
Reference in New Issue