12 #ifndef CHECKSUMCOLLECTOR_H
13 #define CHECKSUMCOLLECTOR_H
15 #ifndef _GLIBCXX_VECTOR
30 std::vector<unsigned char> data;
36 const unsigned char *c = (
const unsigned char *)v;
37 for (
int p = 0; p<len; ++p) {
65 size_t size = data.size();
66 unsigned char *
buffer = ARB_alloc<unsigned char>(size);
67 for (
size_t s = 0;
s<size; ++
s) buffer[
s] = data[
s];
76 #error ChecksumCollector.h included twice
77 #endif // CHECKSUMCOLLECTOR_H
uint32_t GB_checksum(const char *seq, long length, int ignore_case, const char *exclude)
char buffer[MESSAGE_BUFFERSIZE]
void collect(const float &f)
void collect(const double &d)
void collect(unsigned char c)
void collect(const char *s)
void collect_mem(void *v, int len)
uint32_t checksum() const
void collect_byte(unsigned char c)
GB_write_int const char s