]> git.sesse.net Git - bcachefs-tools-debian/blob - libbcachefs/varint.h
rust: bump rpassword to v7.x
[bcachefs-tools-debian] / libbcachefs / varint.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_VARINT_H
3 #define _BCACHEFS_VARINT_H
4
5 int bch2_varint_encode(u8 *, u64);
6 int bch2_varint_decode(const u8 *, const u8 *, u64 *);
7
8 int bch2_varint_encode_fast(u8 *, u64);
9 int bch2_varint_decode_fast(const u8 *, const u8 *, u64 *);
10
11 #endif /* _BCACHEFS_VARINT_H */