18#ifndef _DECAF_UTIL_ZIP_CHECKSUM_H_
19#define _DECAF_UTIL_ZIP_CHECKSUM_H_
58 virtual void update(
const std::vector<unsigned char>& buffer) = 0;
72 virtual void update(
const std::vector<unsigned char>& buffer,
int offset,
int length) = 0;
89 virtual void update(
const unsigned char* buffer,
int size,
int offset,
int length) = 0;
An interface used to represent Checksum values in the Zip package.
Definition Checksum.h:37
virtual void update(const std::vector< unsigned char > &buffer)=0
Updates the current checksum with the specified vector of bytes.
virtual void reset()=0
Reset the checksum to its initial value.
virtual void update(const unsigned char *buffer, int size, int offset, int length)=0
Updates the current checksum with the specified array of bytes.
virtual long long getValue() const =0
virtual void update(int byte)=0
Updates the current checksum with the specified byte value.
virtual void update(const std::vector< unsigned char > &buffer, int offset, int length)=0
Updates the current checksum with the specified array of bytes.
#define DECAF_API
Definition Config.h:29
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25