CSJ2K.Util.EndianBinaryWriter.Write C# (CSharp) Метод

Write() публичный Метод

public Write ( decimal value ) : void
value decimal
Результат void
        public override void Write(decimal value)
        {
            if (_bigEndian)
            {
                throw new System.NotImplementedException();
                /*
                int[] decimalints=decimal.GetBits(value);

                // TODO: Is the whole thing reversed or just the individual ints?
                // Maybe we should just call ReadInt32 4 times?
                //byte[] buf = this.ReadBytes(16);
                //Array.Reverse(buf);
                //int[] decimalints = new int[4];
                //decimalints[0] = BitConverter.ToInt32(buf, 0);
                //decimalints[1] = BitConverter.ToInt32(buf, 4);
                //decimalints[2] = BitConverter.ToInt32(buf, 8);
                //decimalints[3] = BitConverter.ToInt32(buf, 12);
                //return new decimal(decimalints);
                */
            }
            else base.Write(value);
        }

Same methods

EndianBinaryWriter::Write ( double value ) : void
EndianBinaryWriter::Write ( float value ) : void
EndianBinaryWriter::Write ( int value ) : void
EndianBinaryWriter::Write ( long value ) : void
EndianBinaryWriter::Write ( short value ) : void
EndianBinaryWriter::Write ( uint value ) : void
EndianBinaryWriter::Write ( ulong value ) : void
EndianBinaryWriter::Write ( ushort value ) : void
EndianBinaryWriter