LLVM 20.0.0git
|
#include "llvm/Support/BinaryStreamRef.h"
Definition at line 217 of file BinaryStreamRef.h.
|
default |
WritableBinaryStreamRef::WritableBinaryStreamRef | ( | WritableBinaryStream & | Stream | ) |
Definition at line 97 of file BinaryStreamRef.cpp.
WritableBinaryStreamRef::WritableBinaryStreamRef | ( | WritableBinaryStream & | Stream, |
uint64_t | Offset, | ||
std::optional< uint64_t > | Length | ||
) |
Definition at line 100 of file BinaryStreamRef.cpp.
|
explicit |
Definition at line 105 of file BinaryStreamRef.cpp.
References Endian, and llvm::size().
|
default |
|
default |
|
delete |
Error WritableBinaryStreamRef::commit | ( | ) |
For buffered streams, commits changes to the backing store.
Definition at line 123 of file BinaryStreamRef.cpp.
References llvm::BinaryStreamRefBase< WritableBinaryStreamRef, WritableBinaryStream >::BorrowedImpl, and llvm::WritableBinaryStream::commit().
Referenced by llvm::msf::WritableMappedBlockStream::commit().
WritableBinaryStreamRef::operator BinaryStreamRef | ( | ) | const |
Conver this WritableBinaryStreamRef to a read-only BinaryStreamRef.
Definition at line 118 of file BinaryStreamRef.cpp.
References llvm::Length.
|
default |
|
default |
Given an Offset into this WritableBinaryStreamRef and some input data, writes the data to the underlying stream.
Definition at line 110 of file BinaryStreamRef.cpp.
References llvm::BinaryStreamRefBase< WritableBinaryStreamRef, WritableBinaryStream >::BorrowedImpl, llvm::Data, llvm::Offset, llvm::BinaryStreamRefBase< WritableBinaryStreamRef, WritableBinaryStream >::ViewOffset, and llvm::WritableBinaryStream::writeBytes().
Referenced by llvm::BinaryStreamWriter::writeBytes(), and llvm::msf::WritableMappedBlockStream::writeBytes().