slice

Slices the buffer from from position to to position.

Parameters

from

start position

to

end position