@Override
    public Object read(final PostgreSQLPacketPayload payload, final int parameterValueLength) {
        byte[] result = new byte[parameterValueLength];
        payload.getByteBuf().readBytes(result);
        return new UUID(ByteConverter.int8(result, 0), ByteConverter.int8(result, 8));
    }
@Test
    void assertRead() {
        UUID uuid = UUID.fromString("00000000-000-0000-0000-000000000001");
        byte[] expected = new byte[16];
        ByteBuffer buffer = ByteBuffer.wrap(expected);
        buffer.putLong(uuid.getMostSignificantBits());
        buffer.putLong(uuid.getLeastSignificantBits());
        ByteBuf byteBuf = Unpooled.wrappedBuffer(expected);
        PostgreSQLPacketPayload payload = new PostgreSQLPacketPayload(byteBuf, StandardCharsets.UTF_8);
        assertThat(new PostgreSQLUUIDBinaryProtocolValue().read(payload, 16), is(uuid));
    }