[−][src]Crate varint_simd
varint_simd
is a fast SIMD-accelerated variable-length integer
encoder and decoder written in Rust.
For more information, please see the README.
Modules
num |
Enums
VarIntDecodeError |
Functions
decode | Decodes a single varint from the input slice. Requires SSSE3 support. |
decode_unsafe⚠ | Decodes a single varint from the input slice. Requires SSSE3 support. |
decode_zigzag | Convenience function for decoding a single varint in ZigZag format from the input slice.
See also: |
encode | Encodes a single number to a varint. Requires SSE2 support. |
encode_to_slice | Encodes a single number to a varint, and writes the resulting data to the slice. Returns the number of bytes written (maximum 10 bytes). |
encode_unsafe⚠ | Encodes a single number to a varint. Requires SSE2 support. |
encode_zigzag | Convenience function for encoding a single signed integer in ZigZag format to a varint.
See also: |