class raw_sha1_ostream
Declaration
class raw_sha1_ostream : public raw_ostream { /* full declaration omitted */ };
Description
A raw_ostream that hash the content using the sha1 algorithm.
Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:23
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 uint64_t current_pos() const
- public void resetHash()
- public llvm::StringRef sha1()
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
¶uint64_t current_pos() const
uint64_t current_pos() const
Description
Return the current position within the stream, not counting the bytes currently in the buffer.
Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:41
¶void resetHash()
void resetHash()
Description
Reset the internal state to start over from scratch.
Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:39
¶llvm::StringRef sha1()
llvm::StringRef sha1()
Description
Return the current SHA1 hash for the content of the stream
Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:33