@Override
    public void writeDouble(final double v) throws IOException {
        writeLong(Double.doubleToLongBits(v));
    }
@Test
    public void testWriteDoubleForPositionVByteOrder() throws Exception {
        double v = 1.1d;
        out.writeDouble(1, v, LITTLE_ENDIAN);
        long theLong = Double.doubleToLongBits(v);
        long readLongB = Bits.readLongL(out.buffer, 1);

        assertEquals(theLong, readLongB);
    }