WPILibC++
unspecified
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
leb128.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in the root directory of */
5
/* the project. */
6
/*----------------------------------------------------------------------------*/
7
8
#ifndef WPIUTIL_SUPPORT_LEB128_H_
9
#define WPIUTIL_SUPPORT_LEB128_H_
10
11
#include <cstddef>
12
13
#include "llvm/SmallVector.h"
14
15
namespace
wpi
{
16
17
class
raw_istream;
18
19
uint64_t SizeUleb128(uint64_t val);
20
uint64_t WriteUleb128(
llvm::SmallVectorImpl<char>
& dest, uint64_t val);
21
uint64_t ReadUleb128(
const
char
* addr, uint64_t* ret);
22
bool
ReadUleb128(raw_istream& is, uint64_t* ret);
23
24
}
// namespace wpi
25
26
#endif // WPIUTIL_SUPPORT_LEB128_H_
llvm::SmallVectorImpl< char >
wpi
Definition:
SocketError.cpp:17
build
cppSource
wpiutil-cpp
headers
support
leb128.h
Generated on Mon Jan 29 2018 16:02:21 for WPILibC++ by
1.8.11