@Override
    public Object read(final PostgreSQLPacketPayload payload, final int parameterValueLength) {
        byte[] bytes = new byte[parameterValueLength];
        payload.getByteBuf().readBytes(bytes);
        return ARRAY_PARAMETER_DECODER.decodeInt8Array(bytes, '{' != bytes[0]);
    }
@Test
    void assertRead() {
        String parameterValue = "{\"11\",\"12\"}";
        int expectedLength = 4 + parameterValue.length();
        ByteBuf byteBuf = ByteBufTestUtils.createByteBuf(expectedLength);
        byteBuf.writeInt(parameterValue.length());
        byteBuf.writeCharSequence(parameterValue, StandardCharsets.ISO_8859_1);
        byteBuf.readInt();
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
        Object actual = newInstance().read(payload, parameterValue.length());
        assertThat(actual, is(new long[]{11L, 12L}));
        assertThat(byteBuf.readerIndex(), is(expectedLength));
    }