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

        if (!readCheck(readLen))
        {
            return;
        }
        value = BinaryUtility.readFloat(mBuffer, ref mIndex, inverse);
    }
예제 #2
0
파일: FLOAT.cs 프로젝트: isoundy000/FPSDemo
 public override void readFromBuffer(byte[] buffer, ref int index)
 {
     mValue = BinaryUtility.readFloat(buffer, ref index);
 }