mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-05 09:17:54 +03:00
Added "hex" encoder if needed
This commit is contained in:
parent
c5af877fce
commit
f41f431f38
@ -77,3 +77,11 @@ def encode_zip(text):
|
|||||||
|
|
||||||
def decode_zip(data, asText=False):
|
def decode_zip(data, asText=False):
|
||||||
return __decode(data, 'zip', asText)
|
return __decode(data, 'zip', asText)
|
||||||
|
|
||||||
|
|
||||||
|
def encode_hex(text, asText=False):
|
||||||
|
return __encode(text, 'hex', asText)
|
||||||
|
|
||||||
|
|
||||||
|
def decode_hex(data, asText=False):
|
||||||
|
return __decode(data, 'hex', asText)
|
||||||
|
Loading…
Reference in New Issue
Block a user