@Override
    public Object read(final PostgreSQLPacketPayload payload, final int parameterValueLength) {
        byte[] result = new byte[parameterValueLength];
        payload.getByteBuf().readBytes(result);
        return result;
    }
@Test
    void assertRead() {
        ByteBuf byteBuf = Unpooled.wrappedBuffer("value".getBytes(StandardCharsets.UTF_8));
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
        assertThat(new PostgreSQLByteaBinaryProtocolValue().read(payload, 5), is("value".getBytes(StandardCharsets.UTF_8)));
    }