mirror of
https://github.com/besterprotocol/bformat
synced 2023-12-13 21:30:24 +01:00
Corrected problems
This commit is contained in:
parent
a236409034
commit
3a528ad2cc
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue