#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamError.h"
#include "llvm/Support/BinaryStreamRef.h"
#include "llvm/Support/LEB128.h"
usingnamespacellvm;
BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : … { … }
BinaryStreamReader::BinaryStreamReader(BinaryStream &Stream) : … { … }
BinaryStreamReader::BinaryStreamReader(ArrayRef<uint8_t> Data,
endianness Endian)
: … { … }
BinaryStreamReader::BinaryStreamReader(StringRef Data, endianness Endian)
: … { … }
Error BinaryStreamReader::readLongestContiguousChunk(
ArrayRef<uint8_t> &Buffer) { … }
Error BinaryStreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { … }
Error BinaryStreamReader::readULEB128(uint64_t &Dest) { … }
Error BinaryStreamReader::readSLEB128(int64_t &Dest) { … }
Error BinaryStreamReader::readCString(StringRef &Dest) { … }
Error BinaryStreamReader::readWideString(ArrayRef<UTF16> &Dest) { … }
Error BinaryStreamReader::readFixedString(StringRef &Dest, uint32_t Length) { … }
Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref) { … }
Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref, uint32_t Length) { … }
Error BinaryStreamReader::readSubstream(BinarySubstreamRef &Ref,
uint32_t Length) { … }
Error BinaryStreamReader::skip(uint64_t Amount) { … }
Error BinaryStreamReader::padToAlignment(uint32_t Align) { … }
uint8_t BinaryStreamReader::peek() const { … }
std::pair<BinaryStreamReader, BinaryStreamReader>
BinaryStreamReader::split(uint64_t Off) const { … }