示例#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
 public override void readFromBuffer(byte[] buffer, ref int index)
 {
     mValue = BinaryUtility.readFloat(buffer, ref index);
 }