Returns a new non-writable slice.
Returns a new non-writable slice. Unless position is moved manually.
Elements after the input element Returns None if input element is not found.
input Element and elements after the input element. Returns None if input element is not found.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Create a new Slice for the offsets.
Create a new Slice for the offsets.
start offset
end offset
Slice for the given offsets
Return a new ordered Slice.
A tuple2 where _1 is written bytes and _2 is tail unwritten bytes.
Returns the original Array if Slice is not a sub Slice else returns a new copied Array from the offsets defined for this Slice.
Returns the original Array if Slice is not a sub Slice else returns a new copied Array from the offsets defined for this Slice.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Base implementation for both Scala 2.12 and 2.13.