core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OBonsaiBucketAbstract.java
protected void setBucketPointer(int pageOffset, OBonsaiBucketPointer value) throws IOException {
    setLongValue(pageOffset, value.getPageIndex());
    setIntValue(pageOffset + OLongSerializer.LONG_SIZE, value.getPageOffset());
  }
protected void setBucketPointer(int pageOffset, OBonsaiBucketPointer value) throws IOException {
    setLongValue(pageOffset, value.getPageIndex());
    setIntValue(pageOffset + OLongSerializer.LONG_SIZE, value.getPageOffset());
  }
Write a bucket pointer to specific location.

@param pageOffset
where to write
@param value
- pointer to write
@throws IOException