Skip to content

Commit

Permalink
feat: FixedSizeBinaryArray::value_data return reference
Browse files Browse the repository at this point in the history
  • Loading branch information
wjones127 committed Sep 15, 2023
1 parent 7355e83 commit 64ffe58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arrow-array/src/array/fixed_size_binary_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ impl FixedSizeBinaryArray {
self.value_length
}

/// Returns a clone of the value data buffer
pub fn value_data(&self) -> Buffer {
self.value_data.clone()
/// Returns the value buffer.
pub fn value_data(&self) -> &Buffer {
&self.value_data
}

/// Returns a zero-copy slice of this array with the indicated offset and length.
Expand Down

0 comments on commit 64ffe58

Please sign in to comment.