Fixed some stuff
This commit is contained in:
@@ -155,7 +155,7 @@ namespace ts {
|
||||
inline pipes::buffer_view header() const { return this->_buffer.view(MAC_SIZE, this->_header_length); }
|
||||
inline pipes::buffer header() { return this->_buffer.range(MAC_SIZE, this->_header_length); }
|
||||
|
||||
inline size_t data_length() const { return this->_buffer.length() - MAC_SIZE - this->_header_length; }
|
||||
inline size_t data_length() const { return this->_buffer.length() - (MAC_SIZE + this->_header_length); }
|
||||
inline pipes::buffer_view data() const { return this->_buffer.view(MAC_SIZE + this->_header_length); }
|
||||
inline pipes::buffer data() { return this->_buffer.range(MAC_SIZE + this->_header_length); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user