示例#1
0
        public override int GetHashCode()
        {
            uint hashCode = 1;

            for (int i = length - 1; i > -1; i--)
            {
                hashCode = 31 * hashCode + NumberUtils.FloatToIntBits(items[i]);
            }
            return((int)hashCode);
        }
示例#2
0
 public void WriteFloat(float v)
 {
     WriteInt((int)NumberUtils.FloatToIntBits(v));
 }