Attempt to fix the server by adding total packet length to the send and receive areas.
This commit is contained in:
parent
c6b8eec4ed
commit
a7e448f6b4
4 changed files with 43 additions and 6 deletions
|
@ -203,6 +203,10 @@ class ByteLayer {
|
|||
_position = 0;
|
||||
}
|
||||
|
||||
void restorePosition(int position) {
|
||||
_position = position;
|
||||
}
|
||||
|
||||
void clear() {
|
||||
resetPosition();
|
||||
_byteBuffer = Uint8List(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue