Beispiel #1
0
    public float GetFloat()
    {
        if (bytes == null)
        {
            return(0);
        }
        if (bytes.Length < start + 4)
        {
            return(0);
        }
        float result = MyBitConverter.ToFloat(bytes, start);

        start = start + 4;

        return(result);
    }