/// <summary> /// Writes a <see cref="Double"/> to the <see cref="BaseStream"/>. /// </summary> /// <param name="value">The value to write.</param> public void WriteDouble(Double value) { byte[] buffer = Binary.GetDoubleBytes(value, WritesLittleEndian); BaseStream.Write(buffer, 0, buffer.Length); }
/// <summary> /// Writes a <see cref="UInt16"/> to the <see cref="BaseStream"/>. /// </summary> /// <param name="value">The value to write.</param> public void WriteUInt16(UInt16 value) { byte[] buffer = Binary.GetUInt16Bytes(value, WritesLittleEndian); BaseStream.Write(buffer, 0, buffer.Length); }
/// <summary> /// Writes a <see cref="Int64"/> to the <see cref="BaseStream"/>. /// </summary> /// <param name="value">The value to write.</param> public void WriteInt64(Int64 value) { byte[] buffer = Binary.GetInt64Bytes(value, WritesLittleEndian); BaseStream.Write(buffer, 0, buffer.Length); }