1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _BCACHEFS_VARINT_H
3#define _BCACHEFS_VARINT_H
4
5int bch2_varint_encode(u8 *, u64);
6int bch2_varint_decode(const u8 *, const u8 *, u64 *);
7
8int bch2_varint_encode_fast(u8 *, u64);
9int bch2_varint_decode_fast(const u8 *, const u8 *, u64 *);
10
11#endif /* _BCACHEFS_VARINT_H */
12

source code of linux/fs/bcachefs/varint.h