/// <summary> /// Writes eight-byte signed long value to the underlaying stream /// </summary> /// <param name="value"><see cref="long"/> value to write</param> public void Write(long value) { if (BE) { ByteUtils.FromLongBE(buffer, value); } else { ByteUtils.FromLongLE(buffer, value); } stream.Write(buffer, 0, 8); }