mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Renaming Base64Decoder to Base64Converter.
It nows encodes and decodes.
This commit is contained in:
parent
f412a00ada
commit
6865f0438a
6 changed files with 21 additions and 17 deletions
|
@ -10,13 +10,13 @@
|
|||
#include "Analyzer.h"
|
||||
|
||||
// Maybe we should have a base class for generic decoders?
|
||||
class Base64Decoder {
|
||||
class Base64Converter {
|
||||
public:
|
||||
// <analyzer> is used for error reporting, and it should be zero when
|
||||
// the decoder is called by the built-in function decode_base64() or encode_base64().
|
||||
// Empty alphabet indicates the default base64 alphabet.
|
||||
Base64Decoder(Analyzer* analyzer, const string& alphabet = "");
|
||||
~Base64Decoder();
|
||||
Base64Converter(Analyzer* analyzer, const string& alphabet = "");
|
||||
~Base64Converter();
|
||||
|
||||
// A note on Decode():
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue