//===-- sanitizer_leb128.h --------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef SANITIZER_LEB128_H #define SANITIZER_LEB128_H #include "sanitizer_common.h" #include "sanitizer_internal_defs.h" namespace __sanitizer { template <typename T, typename It> It EncodeSLEB128(T value, It begin, It end) { … } template <typename T, typename It> It DecodeSLEB128(It begin, It end, T* v) { … } template <typename T, typename It> It EncodeULEB128(T value, It begin, It end) { … } template <typename T, typename It> It DecodeULEB128(It begin, It end, T* v) { … } } // namespace __sanitizer #endif // SANITIZER_LEB128_H