1
0
Fork 0
mirror of https://github.com/besterprotocol/bformat synced 2023-12-13 21:30:24 +01:00

Corrected problems

This commit is contained in:
Tristan B. Kildaire 2020-12-04 18:56:56 +02:00
parent a236409034
commit 3a528ad2cc

View file

@ -61,8 +61,8 @@ public bool receiveMessage(Socket originator, ref byte[] receiveMessage)
messageLength = *cast(int*)swappedLength.ptr; messageLength = *cast(int*)swappedLength.ptr;
} }
/* Reset buffer */ /* Full message buffer Reset buffer */
receiveBuffer.length = cast(uint)messageLength; byte[] fullMessage;
/* Reset the byte counter */ /* Reset the byte counter */
currentByte = 0; currentByte = 0;