List of usage examples for org.apache.commons.io EndianUtils writeSwappedLong
public static void writeSwappedLong(OutputStream output, long value) throws IOException
From source file:org.apache.hadoop.hive.serde2.teradata.TeradataBinaryDataOutputStream.java
/** * Write LONG./*w ww .ja v a 2s . c o m*/ * using little-endian to write double. * * @param l the l * @throws IOException the io exception */ public void writeLong(long l) throws IOException { EndianUtils.writeSwappedLong(this, l); }