adding put to sha1 encoder
This commit is contained in:
parent
e5c3f49ff8
commit
7c4b94f6e4
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ namespace fc {
|
||||||
~encoder();
|
~encoder();
|
||||||
|
|
||||||
void write( const char* d, uint32_t dlen );
|
void write( const char* d, uint32_t dlen );
|
||||||
|
void put( char c ) { write( &c, 1 ); }
|
||||||
void reset();
|
void reset();
|
||||||
sha1 result();
|
sha1 result();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue