public byte[] getData() {
        return this.data;
    }
@Test
    public void testDeserializePartOfBuffer() throws Exception {
        Data data = deserializer.deserialize(dataBuffer, 0, DATA_LENGTH);

        assertEquals(DATA_LENGTH, data.getData().length);
    }