Closed stevefan1999-personal closed 7 months ago
The provided code would allow you to have aliasing mutable references to the same slice, by cloning the ArrayBuffer object and then calling that method on both objects. This would be unsound. I will see if I can provide a mutable way to access the bytes but it would require implementing some RefCell
like functionality which is currently not present.
Closing this issue as supporting the feature would be unsound.
This is needed to implement TextEncoder