public static Lsn valueOf(String strValue) {
        final int slashIndex = strValue.lastIndexOf('/');

        if (slashIndex <= 0) {
            return INVALID_LSN;
        }

        final String logicalXLogStr = strValue.substring(0, slashIndex);
        final int logicalXlog = (int) Long.parseLong(logicalXLogStr, 16);
        final String segmentStr = strValue.substring(slashIndex + 1, strValue.length());
        final int segment = (int) Long.parseLong(segmentStr, 16);

        final ByteBuffer buf = ByteBuffer.allocate(8);
        buf.putInt(logicalXlog);
        buf.putInt(segment);
        ((java.nio.Buffer) buf).position(0);
        final long value = buf.getLong();

        return Lsn.valueOf(value);
    }
Create LSN instance by string represent LSN.

@param strValue not null string as two hexadecimal numbers of up to 8 digits each, separated
    by a slash. For example {@code 16/3002D50}, {@code 0/15D68C50}
@return not null LSN instance where if specified string represent have not valid form {@link
    Lsn#INVALID_LSN}
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/Lsn.java