jduo commented on code in PR #38266:
URL: https://github.com/apache/arrow/pull/38266#discussion_r1361244629


##########
java/vector/src/main/java/org/apache/arrow/vector/LargeVarBinaryVector.java:
##########
@@ -112,6 +113,20 @@ public byte[] get(int index) {
     return result;
   }
 
+  /**
+   * Read the value at the given position to the given output buffer.
+   * The caller is responsible for checking for nullity first.
+   *
+   * @param index position of element.
+   * @param outputBuffer the buffer to write into.
+   */
+  public void readBytes(int index, ReusableBuffer<?> outputBuffer) {

Review Comment:
   The idea is that users could implement ReusableBuffer on top of other 
byte-container types such as ByteBuffer or Netty ByteBuf objects.



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