Closed dherman closed 12 years ago
Views of TypedBuffers should not expose size or offset information. Several options:
For backwards compatibility with typed arrays, I think the best option is to throw.
I went with throwing.
https://github.com/dherman/structs.js/commit/66b98dfdebcf7ee26f95a40d1ba6c38fd5e1d9eb
Views of TypedBuffers should not expose size or offset information. Several options:
For backwards compatibility with typed arrays, I think the best option is to throw.