(writer: &mut W, bytes: &[u8])
| 174 | |
| 175 | #[inline] |
| 176 | fn 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)] |
| 183 | mod tests { |
no test coverage detected