@SuppressWarnings("unused")
  public static OLogSequenceNumber getLogSequenceNumber(final int offset, final byte[] data) {
    final long segment = OLongSerializer.INSTANCE.deserializeNative(data, offset + WAL_SEGMENT_OFFSET);
    final long position = OLongSerializer.INSTANCE.deserializeNative(data, offset + WAL_POSITION_OFFSET);

    return new OLogSequenceNumber(segment, position);
  }
@SuppressWarnings("unused")
  public static OLogSequenceNumber getLogSequenceNumber(final int offset, final byte[] data) {
    final long segment = OLongSerializer.INSTANCE.deserializeNative(data, offset + WAL_SEGMENT_OFFSET);
    final long position = OLongSerializer.INSTANCE.deserializeNative(data, offset + WAL_POSITION_OFFSET);

    return new OLogSequenceNumber(segment, position);
  }
@ SuppressWarnings ( "unused" ) public static OLogSequenceNumber getLogSequenceNumber ( final int offset , final byte [ ] data ) { final long segment = OLongSerializer . INSTANCE . deserializeNative ( data , offset + WAL_SEGMENT_OFFSET ) ; final long position = OLongSerializer . INSTANCE . deserializeNative ( data , offset + WAL_POSITION_OFFSET ) ; return new OLogSequenceNumber ( segment , position ) ; }
DO NOT DELETE THIS METHOD IT IS USED IN ENTERPRISE STORAGE
<p>
Get value of LSN from the passed in offset in byte array.

@param offset Offset inside of byte array from which LSN value will be read.
@param data   Byte array from which LSN value will be read.
DO NOT DELETE THIS METHOD IT IS USED IN ENTERPRISE STORAGE <p > Get value of LSN from the passed in offset in byte array .