init
Function parameters
Parameters
Functions in this namespace
Functions
- pushWithStateAssumeCapacity
- Standalone function for working with a fixed-size buffer.
- peekWithState
- Standalone function for working with a fixed-size buffer.
- popWithState
- Standalone function for working with a fixed-size buffer.
Source
Implementation
pub fn init(allocator: Allocator) @This() {
return .{
.bytes = std.array_list.Managed(u8).init(allocator),
};
}