More specific data types - ArrayBuffer instead of ArrayBufferLike
By default, TypeScript interfaces like DataView and Uint8Array are used with the more generic ArrayBufferLike type, representing that they can work with either ArrayBuffer or SharedArrayBuffer. TypeScript 5.9 now uses stricter types for interfaces such as the DOM fetch method: a DOM BufferSource is now (correctly) marked as requiring ArrayBuffer, not SharedArrayBuffer. As a result of that change, trying to use a @msgpack/msgpack encode result with a fetch call will result in a type error. This change updates the types in the Encoder class to use ArrayBuffer instead of ArrayBufferLike, which reflects their implementation and prevents issues with the newer, stricter interfaces.
See https://github.com/microsoft/TypeScript/issues/62168 for more info.