Comment by zffr
4 hours ago
You listed 8 types, and this is because there are 3 axes that each have 2 values
- Mutable or not
- Typed or Raw
- Single object, or Buffer
Given one kind of pointer, you can convert to any other kind of pointer, but you are responsible for knowing if it’s safe to do.
The API is not super intuitive, but I can see how it makes it more clear what you are doing in your code.
No comments yet
Contribute on Hacker News ↗