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

Method write_str

arrow-array/src/builder/generic_bytes_builder.rs:360–363  ·  view source on GitHub ↗
(&mut self, s: &str)

Source from the content-addressed store, hash-verified

358
359impl<O: OffsetSizeTrait> std::fmt::Write for GenericStringBuilder<O> {
360 fn write_str(&mut self, s: &str) -> std::fmt::Result {
361 self.value_builder.extend_from_slice(s.as_bytes());
362 Ok(())
363 }
364}
365
366/// A byte size value representing the number of bytes to allocate per string in [`GenericStringBuilder`]

Callers 11

fmtMethod · 0.80
expectingMethod · 0.80
expectingMethod · 0.80
expectingMethod · 0.80
expectingMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
writeMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80
fmtMethod · 0.80

Calls 2

extend_from_sliceMethod · 0.80
as_bytesMethod · 0.45

Tested by

no test coverage detected