A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/md5__writer_8hpp_source.html below:

NCBI C++ ToolKit: src/objtools/data_loaders/asn_cache/md5_writer.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef MD5_WRITER_HPP__ 2 #define MD5_WRITER_HPP__ 36 #if NCBI_PRODUCTION_VER > 20110000 51 template

<

typename

Buffer>

63  size_t

* bytes_written = 0)

76

std::vector<unsigned char> digest(16);

92

wstr << MSerial_AsnBinary << align;

96

md5.GetMD5Sum(md5_str);

97

TUniqueAligns::iterator it =

98

unique_aligns.find(md5_str);

99

if (it != unique_aligns.end()) {

103

unique_aligns.insert(TUniqueAligns::value_type

Checksum and hash calculation classes.

ERW_Result Write(const void *src, size_t count, size_t *bytes_written)

Write up to "count" bytes from the buffer pointed to by the "buf" argument onto the output device.

CChecksum – Checksum calculator.

Stream hook that calculates the MD5 digest of the data passed to a CBufferWriter.

CBufferWriter< TBuffer > TBufferWriter

virtual ERW_Result Flush()

Flush pending data (if any) down to the output device.

CMD5StreamWriter(TBuffer &buf, EBufferWriter_CreateMode truncate=eCreateMode_Truncate)

virtual ERW_Result Write(const void *buf, size_t count, size_t *bytes_written=0)

Write up to "count" bytes from the buffer pointed to by the "buf" argument onto the output device.

std::vector< unsigned char > GetMD5Sum() const

Include a standard set of the NCBI C++ Toolkit most basic headers.

void GetMD5Digest(unsigned char digest[16]) const

Return calculated MD5 digest.

void AddChars(const char *str, size_t len)

Update current control sum with data provided.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

ERW_Result

Result codes for I/O operations.

@ eRW_Success

Everything is okay, I/O completed.

Adaptor for writing to a resizable buffer using IWriter interface.

EBufferWriter_CreateMode

Flag indicating if the lower level container should be cleared (of the pre-existing data) in the CBuf...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4