code: 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);
      }
    }
docs: Write a long value into the output stream.
  
  @param value     a value to be written into the output stream.
  @param byteOrder the byte order of the value bytes to be used for writing.
  @throws IOException it will be thrown for transport errors
  @see JBBPByteOrder#BIG_ENDIAN
  @see JBBPByteOrder#LITTLE_ENDIAN