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