#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamRef.h"
#include "llvm/Support/LEB128.h"
usingnamespacellvm;
BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStreamRef Ref)
: … { … }
BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStream &Stream)
: … { … }
BinaryStreamWriter::BinaryStreamWriter(MutableArrayRef<uint8_t> Data,
llvm::endianness Endian)
: … { … }
Error BinaryStreamWriter::writeBytes(ArrayRef<uint8_t> Buffer) { … }
Error BinaryStreamWriter::writeULEB128(uint64_t Value) { … }
Error BinaryStreamWriter::writeSLEB128(int64_t Value) { … }
Error BinaryStreamWriter::writeCString(StringRef Str) { … }
Error BinaryStreamWriter::writeFixedString(StringRef Str) { … }
Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) { … }
Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint64_t Length) { … }
std::pair<BinaryStreamWriter, BinaryStreamWriter>
BinaryStreamWriter::split(uint64_t Off) const { … }
Error BinaryStreamWriter::padToAlignment(uint32_t Align) { … }