Attempt to fix the server by adding total packet length to the send and receive areas.

This commit is contained in:
zontreck 2024-08-29 11:25:04 -07:00
parent c6b8eec4ed
commit a7e448f6b4
4 changed files with 43 additions and 6 deletions

View file

@ -203,6 +203,10 @@ class ByteLayer {
_position = 0;
}
void restorePosition(int position) {
_position = position;
}
void clear() {
resetPosition();
_byteBuffer = Uint8List(0);