pitrou commented on issue #41604:
URL: https://github.com/apache/arrow/issues/41604#issuecomment-2112682458

   > Or a min/max constraint to let the implementation decide the best fit [2] 
`size_t read(void* buffer, size_t minBytes, size_t maxBytes);`
   
   That's another possibility, but it forces the caller to allocate `maxBytes` 
even if the result could be as small as `minBytes`.
   
   Note that those are not either/or. We could start with one and add the other 
if needed/desired.
   


-- 
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]

Reply via email to