Function init [src]
Prototype
pub fn init(allocator: Allocator) @This()
Parameters
allocator: Allocator
Source
pub fn init(allocator: Allocator) @This() {
return .{
.bytes = std.ArrayList(u8).init(allocator),
};
}
pub fn init(allocator: Allocator) @This()
allocator: Allocator
pub fn init(allocator: Allocator) @This() {
return .{
.bytes = std.ArrayList(u8).init(allocator),
};
}