tustvold commented on PR #4821:
URL: https://github.com/apache/arrow-rs/pull/4821#issuecomment-1721528132

   Perhaps we should be consistent with `GenericByteArray` and have
   
   ```
   /// Returns the values of this array
   ///
   /// Unlike [`Self::value_data`] this returns the [`Buffer`]
   /// allowing for zero-copy cloning
   #[inline]
   pub fn values(&self) -> &Buffer {
       &self.value_data
   }
   
   /// Returns the raw value data
   pub fn value_data(&self) -> &[u8] {
       self.value_data.as_slice()
   }
   ```


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