pub fn setLen(self: *Managed, new_len: usize) void
Sets the length of an Managed.
If setLen is used, then the Managed must be normalized to suit.
self: *Managed
new_len: usize
2893 2894 2895 2896
pub fn setLen(self: *Managed, new_len: usize) void { self.metadata &= sign_bit; self.metadata |= new_len; }
Sets the length of an Managed.
If setLen is used, then the Managed must be normalized to suit.