public String decode(byte[] val) {
        return codecs[0].decode(val, 0, val.length);
    }
@Test
    public void testDecodeChineseLongTextGB2312() {
        assertEquals(CHINESE_LONG_TEXT_GB2312,
                gb2312().decode(CHINESE_LONG_TEXT_GB2312_BYTES));
    }