protected void outputDetectedBlock(String name, Object value, Byte param, ByteBuf byteBuf, int endOfLastBlock) {
        int blockSize = byteBuf.readerIndex() - endOfLastBlock;
        byte[] blockContent = new byte[blockSize];
        byteBuf.getBytes(endOfLastBlock, blockContent);
        String valueString = (value != null) ? value.toString() : "";
        String paramString = (param != null) ? Hex.encodeHexString(new byte[] {param}) : "";
        String content = "   " + Hex.encodeHexString(blockContent).replaceAll("(.{2})", "$1 ");
        System.out.println(String.format("Block: %30s %10s %2s %s", name, valueString, paramString, content));
    }
Writes all current values for a fiven testpoint to the database.

@param testpointId id of the testpoint.
plc4j/protocols/delta-v/src/test/java/org/apache/plc4x/java/deltav/PoCES.java