Avoids unnecessary data copying by using `as any` cast instead of .slice() to work around TypeScript's ArrayBufferLike vs ArrayBuffer type incompatibility between Deno and Node.js. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>