public BufferAllocator(byte[] buffer) { _buffer = buffer; _allocator = BuddyBufferAllocator.Create(SizeToBlocks(buffer.Length)); }