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