fn init(len: usize) error{Overflow}!Self

Set the actual length of the slice. Returns error.Overflow if it exceeds the length of the backing array.

Parameters

len: usize,