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

Function avro_long_bytes

arrow-avro/src/writer/encoder.rs:2419–2421  ·  view source on GitHub ↗
(v: i64)

Source from the content-addressed store, hash-verified

2417 }
2418
2419 fn avro_long_bytes(v: i64) -> Vec<u8> {
2420 varint(zigzag_i64(v))
2421 }
2422
2423 fn avro_len_prefixed_bytes(payload: &[u8]) -> Vec<u8> {
2424 let mut out = avro_long_bytes(payload.len() as i64);

Callers 15

avro_len_prefixed_bytesFunction · 0.85
list_encoder_int32Function · 0.85
enum_encoder_dictionaryFunction · 0.85
long_encoder_int64Function · 0.85
union_encoder_string_intFunction · 0.85
list64_encoder_int32Function · 0.85
int_encoder_testFunction · 0.85

Calls 2

varintFunction · 0.85
zigzag_i64Function · 0.85