core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OBonsaiBucketAbstract.java
protected OBonsaiBucketPointer getBucketPointer(int offset) {
    final long pageIndex = getLongValue(offset);
    final int pageOffset = getIntValue(offset + OLongSerializer.LONG_SIZE);
    return new OBonsaiBucketPointer(pageIndex, pageOffset);
  }
protected OBonsaiBucketPointer getBucketPointer(int offset) {
    final long pageIndex = getLongValue(offset);
    final int pageOffset = getIntValue(offset + OLongSerializer.LONG_SIZE);
    return new OBonsaiBucketPointer(pageIndex, pageOffset);
  }
protected OBonsaiBucketPointer getBucketPointer ( int offset ) { final long pageIndex = getLongValue ( offset ) ; final int pageOffset = getIntValue ( offset + OLongSerializer . LONG_SIZE ) ; return new OBonsaiBucketPointer ( pageIndex , pageOffset ) ; }
Read bucket pointer from page.

@param offset
where the pointer should be read from
@return bucket pointer
Read bucket pointer from page .