Go to the documentation of this file.
9 #ifndef LLDB_CORE_STREAMFILE_H
10 #define LLDB_CORE_STREAMFILE_H
29 uint32_t permissions = lldb::eFilePermissionsFileDefault);
43 void Flush()
override;
48 size_t WriteImpl(
const void *s,
size_t length)
override;
57 #endif // LLDB_CORE_STREAMFILE_H
size_t WriteImpl(const void *s, size_t length) override
Output character bytes to the stream.
const File & GetFile() const
std::shared_ptr< File > GetFileSP()
const StreamFile & operator=(const StreamFile &)=delete
StreamFile(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order)
StreamFile(std::shared_ptr< File > file)
std::shared_ptr< File > m_file_sp
A class that represents a running process on the host machine.
void Flush() override
Flush the stream.
ByteOrder
Byte ordering definitions.