public String decode(byte[] val) {
        return codecs[0].decode(val, 0, val.length);
    }
@Test
    public void testDecodeChinesePersonNameUTF8() {
        assertEquals(CHINESE_PERSON_NAME_UTF8,
                utf8().decode(CHINESE_PERSON_NAME_UTF8_BYTES));
    }