Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Dec 1, 2024
1 parent 0626b90 commit cd2d971
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arrow-avro/src/reader/vlq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ pub(crate) fn read_varint(buf: &[u8]) -> Option<(u64, usize)> {
}

/// Based on
/// - https://github.com/tokio-rs/prost/blob/master/prost/src/encoding/varint.rs#L71
/// - https://github.com/google/protobuf/blob/3.3.x/src/google/protobuf/io/coded_stream.cc#L365-L406
/// - https://github.com/protocolbuffers/protobuf-go/blob/v1.27.1/encoding/protowire/wire.go#L358
/// - <https://github.com/tokio-rs/prost/blob/master/prost/src/encoding/varint.rs#L71>
/// - <https://github.com/google/protobuf/blob/3.3.x/src/google/protobuf/io/coded_stream.cc#L365-L406>
/// - <https://github.com/protocolbuffers/protobuf-go/blob/v1.27.1/encoding/protowire/wire.go#L358>
#[inline]
fn read_varint_array(buf: [u8; 10]) -> Option<(u64, usize)> {
let mut in_progress = 0_u64;
Expand Down

0 comments on commit cd2d971

Please sign in to comment.