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:

Methods

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)

Declared at: llvm/include/llvm/Support/raw_ostream.h:377

Parameters

bool Unbuffered = false