zeroshade commented on PR #14026:
URL: https://github.com/apache/arrow/pull/14026#issuecomment-1242443654

   sure, `cap(b)` should probably work fine, mainly i was thinking of `h.Cap` 
since it was already there, but you can do the `cap(b)` check before you even 
grab the slice header.


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