Public Member Functions | |
sha1streambuf () | |
Construct null. More... | |
SHA1 & | sha1 () |
Return the SHA-1. More... | |
virtual std::streamsize | xsputn (const char *s, std::streamsize n) |
Writes characters from the array pointed to by s. More... | |
virtual int | overflow (int c=EOF) |
Writes c to the current position of the put pointer (pptr),. More... | |
Definition at line 49 of file OSHA1stream.H.
|
inline |
Construct null.
Definition at line 64 of file OSHA1stream.H.
|
inline |
Return the SHA-1.
Definition at line 71 of file OSHA1stream.H.
References SHA1::append(), Foam::constant::universal::c, n, sha1streambuf::overflow(), s(), and sha1streambuf::xsputn().
Referenced by OSHA1stream::digest(), OSHA1stream::rewind(), osha1stream::sha1(), and OSHA1stream::sha1().
|
inlinevirtual |
Writes characters from the array pointed to by s.
into the controlled output sequence, until either n characters have been written or the end of the output sequence is reached
Definition at line 79 of file OSHA1stream.H.
Referenced by sha1streambuf::sha1().
|
inlinevirtual |
Writes c to the current position of the put pointer (pptr),.
and advances that pointer one position forward. If c is EOF, no characters are written and the put pointer (pptr) is not advanced. Maybe used by xsputn (C++11).
Definition at line 90 of file OSHA1stream.H.
Referenced by sha1streambuf::sha1().