MCPcopy Create free account
hub / github.com/apache/arrow-rs / validate_binary_view

Function validate_binary_view

arrow-data/src/byte_view.rs:148–150  ·  view source on GitHub ↗

Validates the combination of `views` and `buffers` is a valid BinaryView

(views: &[u128], buffers: &[Buffer])

Source from the content-addressed store, hash-verified

146
147/// Validates the combination of `views` and `buffers` is a valid BinaryView
148pub fn validate_binary_view(views: &[u128], buffers: &[Buffer]) -> Result<(), ArrowError> {
149 validate_view_impl(views, buffers, |_, _| Ok(()))
150}
151
152/// Validates the combination of `views` and `buffers` is a valid StringView
153pub fn validate_string_view(views: &[u128], buffers: &[Buffer]) -> Result<(), ArrowError> {

Callers 2

validateMethod · 0.85
validate_valuesMethod · 0.85

Calls 1

validate_view_implFunction · 0.85

Tested by

no test coverage detected