fn toManaged(self: Const, allocator: Allocator) Allocator.Error!Managed

The result is an independent resource which is managed by the caller.

Parameters

self: Const,
allocator: Allocator,