We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyBUF_SIMPLE is a flag used to denote a buffer is a pure 1-dimensional contiguous unsigned u8 array.
This is a pretty common use-case, so we should make it close to trivial to map back and forth to Zig []u8.
[]u8
In fact, we could support quite a lot of the 1-dimensional buffer protocol using comptime.
[]u32
[]const u32
The text was updated successfully, but these errors were encountered:
Related -> #29
Sorry, something went wrong.
No branches or pull requests
PyBUF_SIMPLE is a flag used to denote a buffer is a pure 1-dimensional contiguous unsigned u8 array.
This is a pretty common use-case, so we should make it close to trivial to map back and forth to Zig
[]u8
.In fact, we could support quite a lot of the 1-dimensional buffer protocol using comptime.
[]u8
-> writable simple[]u32
-> writable, check format string, check alignment, etc.[]const u32
-> readonly, etc.The text was updated successfully, but these errors were encountered: