WPILibC++
unspecified
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
leb128.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) FIRST 2015. 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
std::size_t SizeUleb128(
unsigned
long
val);
20
std::size_t WriteUleb128(
llvm::SmallVectorImpl<char>
& dest,
unsigned
long
val);
21
std::size_t ReadUleb128(
const
char
* addr,
unsigned
long
* ret);
22
bool
ReadUleb128(raw_istream& is,
unsigned
long
* ret);
23
24
}
// namespace wpi
25
26
#endif // WPIUTIL_SUPPORT_LEB128_H_
llvm::SmallVectorImpl< char >
wpi
Definition:
SocketError.cpp:18
build
cppSource
wpiutil-cpp
headers
support
leb128.h
Generated on Sat Oct 28 2017 21:17:17 for WPILibC++ by
1.8.11