Function ownsPtr [src]
Prototype
pub fn ownsPtr(self: *FixedBufferAllocator, ptr: [*]u8) bool
Parameters
self: *FixedBufferAllocator
ptr: [*]u8
Source
pub fn ownsPtr(self: *FixedBufferAllocator, ptr: [*]u8) bool {
return sliceContainsPtr(self.buffer, ptr);
}