/** * Compress the input long array data * * @param d input array * @param off offset in the array * @param len the number of elements in the array to copy * @throws IOException */ public void write(long[] d, int off, int len) throws IOException { rawWrite(d, off * 8, len * 8); }
/** * Compress the input short array data * * @param f input array * @param off offset in the array * @param len the number of elements in the array to copy * @throws IOException */ public void write(short[] f, int off, int len) throws IOException { rawWrite(f, off * 2, len * 2); }
/** * Compress the input double array data * * @param f input array * @param off offset in the array * @param len the number of elements in the array to copy * @throws IOException */ public void write(double[] f, int off, int len) throws IOException { rawWrite(f, off * 8, len * 8); }
/** * Compress the input float array data * * @param f input array * @param off offset in the array * @param len the number of elements in the array to copy * @throws IOException */ public void write(float[] f, int off, int len) throws IOException { rawWrite(f, off * 4, len * 4); }
/** * Compress the input int array data * * @param f input array * @param off offset in the array * @param len the number of elements in the array to copy * @throws IOException */ public void write(int[] f, int off, int len) throws IOException { rawWrite(f, off * 4, len * 4); }