@Override
    public Object read(final PostgreSQLPacketPayload payload, final int parameterValueLength) {
        return payload.readInt8();
    }
@Test
    void assertRead() {
        byte[] input = new byte[]{
                (byte) 0x80, 0, 0, 0, 0, 0, 0, 0,
                (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                0, 0, 0, 0, 0, 0, 0, 0,
                (byte) 0x7F, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF};
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(Unpooled.wrappedBuffer(input), StandardCharsets.UTF_8);
        assertThat(new PostgreSQLInt8BinaryProtocolValue().read(payload, 8), is(Long.MIN_VALUE));
        assertThat(new PostgreSQLInt8BinaryProtocolValue().read(payload, 8), is(-1L));
        assertThat(new PostgreSQLInt8BinaryProtocolValue().read(payload, 8), is(0L));
        assertThat(new PostgreSQLInt8BinaryProtocolValue().read(payload, 8), is(Long.MAX_VALUE));
    }