Functions
fn allocator(self: *FixedBufferAllocator) Allocator
WARNING using this at the same time as the interface returned by `threadSafeAl…
WARNING using this at the same time as the interface returned by
threadSafeAllocator
is not thread safefn isLastAllocation(self: *FixedBufferAllocator, buf: []u8) bool
NOTE: this will not work in all cases, if the last allocation had an adjusted_in…
NOTE: this will not work in all cases, if the last allocation had an adjusted_index then we won’t be able to determine what the last allocation was. This is because the alignForward operation done in alloc is not reversible.
fn threadSafeAllocator(self: *FixedBufferAllocator) Allocator
Provides a lock free thread safe
Allocator
interface to the underlying `FixedB…Provides a lock free thread safe
Allocator
interface to the underlyingFixedBufferAllocator
WARNING using this at the same time as the interface returned byallocator
is not thread safe