> Buffer also comes with additional caveats. For instance, Buffer#slice() creates a mutable segment linked to the original Buffer, while Uint8Array#slice() creates an immutable copy, resulting in possible unpredictable behavior.
I can see how the Buffer behavior here would be preferable in cases where performance is important or memory constrained environments.