The slice()
method of ArrayBuffer
instances returns a new ArrayBuffer
whose contents are a copy of this ArrayBuffer
's bytes from start
, inclusive, up to end
, exclusive. If either start
or end
is negative, it refers to an index from the end of the array, as opposed to from the beginning.