[#HashedSourceWriter] = HashedSourceWriter :mrdocs: Writes data to an underlying source stream, while hashing the written data. == Synopsis Declared in `<hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Source> class HashedSourceWriter : public xref:HashWriter.adoc[HashWriter] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:HashWriter.adoc[HashWriter]` | A writer stream (for serialization) that computes a 256‐bit hash. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:HashedSourceWriter/2constructor.adoc[`HashedSourceWriter`] [.small]#[constructor]# | Constructs a writer that writes to and hashes an underlying source. | xref:HashWriter/GetCheapHash.adoc[`GetCheapHash`] | Returns the first 64 bits from the resulting hash. | xref:HashWriter/GetHash.adoc[`GetHash`] | Compute the double‐SHA256 hash of all data written to this object. | xref:HashWriter/GetSHA256.adoc[`GetSHA256`] | Compute the SHA256 hash of all data written to this object. | xref:HashedSourceWriter/write.adoc[`write`] | Writes bytes to the source and feeds them into the hash. | xref:HashedSourceWriter/operator_lshift.adoc[`operator<<`] | Serializes an object to the source, hashing the bytes written. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#