	@Test(expected = IndexOutOfBoundsException.class)
	public void testGetBufferException() {

		ByteBuffer bb = ByteBuffer.allocate(4);
		bb.order(ByteOrder.BIG_ENDIAN);
		bb.putInt(bb.capacity());
		Data d = new Data(bb.array());
		d.getBuffer(); // Exception, no character data
	}