Fixed some stuff

This commit is contained in:
WolverinDEV
2019-06-28 18:14:44 +02:00
parent 9e1566566a
commit d75455c63f
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -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); }