Example #1
0
        public void WriteFloat(float value)
        {
            FpBytes bytes = value;

            InternalWriteByte(bytes.B0, 8);
            InternalWriteByte(bytes.B1, 8);
            InternalWriteByte(bytes.B2, 8);
            InternalWriteByte(bytes.B3, 8);
        }
Example #2
0
        public void WriteDouble(double value)
        {
            FpBytes bytes = value;

            InternalWriteByte(bytes.B0, 8);
            InternalWriteByte(bytes.B1, 8);
            InternalWriteByte(bytes.B2, 8);
            InternalWriteByte(bytes.B3, 8);
            InternalWriteByte(bytes.B4, 8);
            InternalWriteByte(bytes.B5, 8);
            InternalWriteByte(bytes.B6, 8);
            InternalWriteByte(bytes.B7, 8);
        }