예제 #1
0
    public void read(ref int value, bool inverse = false)
    {
        int readLen = sizeof(int);

        if (!readCheck(readLen))
        {
            return;
        }
        value = BinaryUtility.readInt(mBuffer, ref mIndex, inverse);
    }
예제 #2
0
 public override void readFromBuffer(byte[] buffer, ref int index)
 {
     mValue = BinaryUtility.readInt(buffer, ref index);
 }