diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-07-18 04:35:30 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-07-18 04:35:30 +0000 |
commit | 5b2008101cb8123db25bbe99a2e3688fc426edbc (patch) | |
tree | a25c153b42dc3f510a7981a031bd04dfa0a7a712 /hex.h | |
parent | b3d4024665640987ee62a348cfc3e9cfe7e1536e (diff) | |
download | cryptopp-git-5b2008101cb8123db25bbe99a2e3688fc426edbc.tar.gz |
misc changes
Diffstat (limited to 'hex.h')
-rw-r--r-- | hex.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ public: HexEncoder(BufferedTransformation *attachment = NULL, bool uppercase = true, int outputGroupSize = 0, const std::string &separator = ":", const std::string &terminator = "") : SimpleProxyFilter(new BaseN_Encoder(new Grouper), attachment) { - IsolatedInitialize(MakeParameters("Uppercase", uppercase)("GroupSize", outputGroupSize)("Separator", ConstByteArrayParameter(separator))); + IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator))); } void IsolatedInitialize(const NameValuePairs ¶meters); @@ -23,12 +23,12 @@ class CRYPTOPP_DLL HexDecoder : public BaseN_Decoder { public: HexDecoder(BufferedTransformation *attachment = NULL) - : BaseN_Decoder(GetDecodingLookupArray(), 4, attachment) {} + : BaseN_Decoder(GetDefaultDecodingLookupArray(), 4, attachment) {} - void IsolatedInitialize(const NameValuePairs ¶meters) {} + void IsolatedInitialize(const NameValuePairs ¶meters); private: - static const int *GetDecodingLookupArray(); + static const int *GetDefaultDecodingLookupArray(); }; NAMESPACE_END |