code: func (b *bufferManager) init(initialOffset, size, entrySize int) {
  	b.freeList = nil
  	b.curOffset = uint64(initialOffset)
  	b.limit = uint64(initialOffset + size/entrySize*entrySize)
  	b.entrySize = uint32(entrySize)
  }
docs: // init initializes the buffer manager.