public void read(ref int value, bool inverse = false) { int readLen = sizeof(int); if (!readCheck(readLen)) { return; } value = BinaryUtility.readInt(mBuffer, ref mIndex, inverse); }
public override void readFromBuffer(byte[] buffer, ref int index) { mValue = BinaryUtility.readInt(buffer, ref index); }