你能解释一下这段代码片段的作用吗?我不明白点对象如何获得参数为byteBuffer,以及getInt(4)和getInt(8)的目的是什么,为什么4和8?
protected Point getEnd() {
ByteBuffer byteBuffer = null;
try {
final byte[] page = this.bufferManager.getPage(this.pageSize, new BufferManager.PageAddress(0, this.path1));
byteBuffer = ByteBuffer.wrap(page);
} catch (final IOException e) {
e.printStackTrace();
}
return new Point(byteBuffer.getInt(4), byteBuffer.getInt(8));
}