Package DE_EPAGES::Core::API::Xhr
This module provides decode and encoding methods to convert a string to a non-null-byte string. This is necessarry because the XMLHTTPRequest (XHR) can not handle such binary files.
Example |
my $rContent = GetFileContent($FileName, {binary=>1}); my $EncodedContent = encode($$rContent); my $DecodedContent = decode($EncodedContent); # same $$rContent |
@EXPORT_OK |
Functions
encode
Replaces null-bytes with place holder.
Syntax |
my $NoNullByteString = encode($NullByteString); |
Input |
|
Return |
|