ArrayBuffer.slice works different than Array.slice or String.slice