TextOption
Fields
- buffer:[]u8
Use this slice of bytes, cannot add more.
- buffer_dynamic:struct { backing: *[]u8, allocator: std.mem.Allocator, limit: usize = 10_000, }
Use and grow with realloc and shrink with resize as needed.
- array_list:struct { backing: *std.ArrayList(u8), allocator: std.mem.Allocator, limit: usize = 10_000, }
Use std.ArrayList(u8). The limit is total characters, the
- internal:struct { limit: usize = 10_000, }
Use internal buffer up to limit.