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

Function write_string

arrow-avro/src/writer/format.rs:171–173  ·  view source on GitHub ↗
(writer: &mut W, s: &str)

Source from the content-addressed store, hash-verified

169
170#[inline]
171fn write_string<W: Write>(writer: &mut W, s: &str) -> Result<(), AvroError> {
172 write_bytes(writer, s.as_bytes())
173}
174
175#[inline]
176fn write_bytes<W: Write>(writer: &mut W, bytes: &[u8]) -> Result<(), AvroError> {

Callers 1

start_streamMethod · 0.85

Calls 2

write_bytesFunction · 0.85
as_bytesMethod · 0.45

Tested by

no test coverage detected