@Override
    public void writeFloat(final float v) throws IOException {
        ensureAvailable(FLOAT_SIZE_IN_BYTES);
        MEM.putFloat(buffer, ARRAY_BYTE_BASE_OFFSET + pos, v);
        pos += FLOAT_SIZE_IN_BYTES;
    }
@Test
    public void testWriteFloatV() throws Exception {
        float expected = 1.1f;
        out.writeFloat(expected);
        int val = Bits.readInt(out.buffer, 0, ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN);
        float actual = Float.intBitsToFloat(val);

        assertEquals(expected, actual, 0);
    }