Esempio n. 1
0
    public static float READ_FLOAT()
    {
        if (NET.readpos + 4 > NET.readlen)
        {
            NET.readerror = true;
            return(0f);
        }
        float result = NET.DecodeSingle(NET.readbuffer, NET.readpos);

        NET.readpos += 4;
        return(result);
    }