MiscUtil.IO.EndianBinaryReader.ReadDouble C# (CSharp) 메소드

ReadDouble() 공개 메소드

Reads a double-precision floating-point value from the stream, using the bit converter for this reader. 8 bytes are read.
public ReadDouble ( ) : double
리턴 double
        public double ReadDouble()
        {
            ReadInternal(buffer, 8);
            return bitConverter.ToDouble(buffer, 0);
        }

Usage Example

예제 #1
0
        protected override void Parse(EndianBinaryReader r)
        {
			Position = new CoordDouble ();
			Position.X = r.ReadDouble ();
			Position.Y = r.ReadDouble ();
			Position.Z = r.ReadDouble ();
			OnGround = r.ReadByte ();
		}
All Usage Examples Of MiscUtil.IO.EndianBinaryReader::ReadDouble