class raw_pwrite_stream
Declaration
class raw_pwrite_stream : public raw_ostream { /* full declaration omitted */ };
Description
An abstract base class for streams implementations that also support a pwrite operation. This is useful for code that can mostly stream out data, but needs to patch in a header that needs to know the output size.
Declared at: llvm/include/llvm/Support/raw_ostream.h:372
Inherits from: raw_ostream
Member Variables
Inherited from raw_ostream:
- public static BLACK = Colors::BLACK
- public static RED = Colors::RED
- public static GREEN = Colors::GREEN
- public static YELLOW = Colors::YELLOW
- public static BLUE = Colors::BLUE
- public static MAGENTA = Colors::MAGENTA
- public static CYAN = Colors::CYAN
- public static WHITE = Colors::WHITE
- public static SAVEDCOLOR = Colors::SAVEDCOLOR
- public static RESET = Colors::RESET
Method Overview
- public void pwrite(const char * Ptr, size_t Size, uint64_t Offset)
- public raw_pwrite_stream(bool Unbuffered = false)
Inherited from raw_ostream:
- public GetBufferSize
- public GetNumBytesInBuffer
- protected SetBuffer
- public SetBufferSize
- public SetBuffered
- public SetUnbuffered
- public changeColor
- public enable_colors
- public flush
- protected getBufferStart
- public has_colors
- public indent
- public is_displayed
- protected preferred_buffer_size
- public resetColor
- public reverseColor
- public tell
- public write
- public write
- public write_escaped
- public write_hex
- public write_uuid
- public write_zeros
Methods
¶void pwrite(const char* Ptr,
size_t Size,
uint64_t Offset)
void pwrite(const char* Ptr,
size_t Size,
uint64_t Offset)
Declared at: llvm/include/llvm/Support/raw_ostream.h:379
Parameters
- const char* Ptr
- size_t Size
- uint64_t Offset
¶raw_pwrite_stream(bool Unbuffered = false)
raw_pwrite_stream(bool Unbuffered = false)
Declared at: llvm/include/llvm/Support/raw_ostream.h:377
Parameters
- bool Unbuffered = false