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

Method as_bytes_opt

arrow-array/src/cast.rs:1009–1011  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1007 }
1008
1009 fn as_bytes_opt<T: ByteArrayType>(&self) -> Option<&GenericByteArray<T>> {
1010 self.as_any().downcast_ref()
1011 }
1012
1013 fn as_byte_view_opt<T: ByteViewType>(&self) -> Option<&GenericByteViewArray<T>> {
1014 self.as_any().downcast_ref()

Callers 5

as_bytesMethod · 0.80
as_string_optMethod · 0.80
as_stringMethod · 0.80
as_binary_optMethod · 0.80
as_binaryMethod · 0.80

Calls 2

as_anyMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected