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

Function write_bytes

arrow-avro/src/writer/format.rs:176–180  ·  view source on GitHub ↗
(writer: &mut W, bytes: &[u8])

Source from the content-addressed store, hash-verified

174
175#[inline]
176fn write_bytes<W: Write>(writer: &mut W, bytes: &[u8]) -> Result<(), AvroError> {
177 write_long(writer, bytes.len() as i64)?;
178 writer.write_all(bytes)?;
179 Ok(())
180}
181
182#[cfg(test)]
183mod tests {

Callers 4

start_streamMethod · 0.85
write_stringFunction · 0.85
with_bitsetMethod · 0.85
set_null_bitsMethod · 0.85

Calls 3

write_longFunction · 0.85
lenMethod · 0.45
write_allMethod · 0.45

Tested by

no test coverage detected