paleolimbot opened a new pull request, #207: URL: https://github.com/apache/arrow-nanoarrow/pull/207
The existing `enum ArrowBufferType` is useful to switch on for some things and the `element_size_bits` is useful for calculating byte offsets; however, the combination of those is still not sufficient to do endian-swapping as each Arrow type has its own rules. This concept has also come up when printing buffers in the R package and when exporting in Python via the buffer protocol, both of which had their own workarounds. Attaching a reasonable `ArrowType` to each buffer should provide a generic route to solving all of those. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
