public String toString()
    {
        return toString(data);
    }
@Test
    public void testToString()
    {
        ZData data = new ZData("test".getBytes(ZMQ.CHARSET));

        String string = data.toString();
        assertThat(string, is("test"));
    }