public void writeLong ( final long value , final JBBPByteOrder byteOrder ) throws IOException { if ( byteOrder == JBBPByteOrder . BIG_ENDIAN ) { this . writeInt ( ( int ) ( value >>> 32 ) , byteOrder ) ; this . writeInt ( ( int ) value , byteOrder ) ; } else { this . writeInt ( ( int ) value , byteOrder ) ; this . writeInt ( ( int ) ( value >>> 32 ) , byteOrder ) ; } }
Write a long value into the output stream .