Linux 6.13-rc4
[linux.git] / fs / bcachefs / varint.h
blob92a182fb3d7aed9fdcda1600451ca996ca5620b7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_VARINT_H
3 #define _BCACHEFS_VARINT_H
5 int bch2_varint_encode(u8 *, u64);
6 int bch2_varint_decode(const u8 *, const u8 *, u64 *);
8 int bch2_varint_encode_fast(u8 *, u64);
9 int bch2_varint_decode_fast(const u8 *, const u8 *, u64 *);
11 #endif /* _BCACHEFS_VARINT_H */