maxon::StreamConversions Namespace Reference

Functions

 MAXON_DECLARATION (StreamConversionFactory, Base64Encoder, "net.maxon.streamconversion.base64.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, Base64Decoder, "net.maxon.streamconversion.base64.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, Base64UrlEncoder, "net.maxon.streamconversion.base64url.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, Base64UrlDecoder, "net.maxon.streamconversion.base64url.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, UtfTextEncoder, "net.maxon.streamconversion.utftext.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, UtfTextDecoder, "net.maxon.streamconversion.utftext.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, HexEncoder, "net.maxon.streamconversion.hex.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, HexDecoder, "net.maxon.streamconversion.hex.decoder")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringSystemCodePageEncoder, "net.maxon.streamconversion." "systemcodepage" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringSystemCodePageDecoder, "net.maxon.streamconversion." "systemcodepage" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringBit8Encoder, "net.maxon.streamconversion." "bit8" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringBit8Decoder, "net.maxon.streamconversion." "bit8" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringBit7HexEncoder, "net.maxon.streamconversion." "hex7" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringBit7HexDecoder, "net.maxon.streamconversion." "hex7" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUtf8Encoder, "net.maxon.streamconversion." "utf8" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUtf8Decoder, "net.maxon.streamconversion." "utf8" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUtf16Encoder, "net.maxon.streamconversion." "utf16" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUtf16Decoder, "net.maxon.streamconversion." "utf16" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlEncoder, "net.maxon.streamconversion." "url" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlDecoder, "net.maxon.streamconversion." "url" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrl32Encoder, "net.maxon.streamconversion." "url32" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrl32Decoder, "net.maxon.streamconversion." "url32" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlPathEncoder, "net.maxon.streamconversion." "urlpath" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlPathDecoder, "net.maxon.streamconversion." "urlpath" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlQueryEncoder, "net.maxon.streamconversion." "urlquery" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlQueryDecoder, "net.maxon.streamconversion." "urlquery" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlQueryParameterEncoder, "net.maxon.streamconversion." "urlqueryparam" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringUrlQueryParameterDecoder, "net.maxon.streamconversion." "urlqueryparam" "dec")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringCodePage437Encoder, "net.maxon.streamconversion." "codepage437" "enc")
 
 MAXON_DECLARATION (maxon::StreamConversionFactory, StringCodePage437Decoder, "net.maxon.streamconversion." "codepage437" "dec")
 
 MAXON_DECLARATION (StreamConversionFactory, AesEncoder, "net.maxon.streamconversion.aes.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, AesDecoder, "net.maxon.streamconversion.aes.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, BlowfishEncoder, "net.maxon.streamconversion.blowfish.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, BlowfishDecoder, "net.maxon.streamconversion.blowfish.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, BlowfishLegacyEncoder, "net.maxon.streamconversion.blowfishlegacy.encoder")
 
 MAXON_DECLARATION (StreamConversionFactory, BlowfishLegacyDecoder, "net.maxon.streamconversion.blowfishlegacy.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, BlowfishLegacyEnDecoder, "net.maxon.streamconversion.blowfishlegacyen.decoder")
 
 MAXON_DECLARATION (StreamConversionFactory, HashMD5, "net.maxon.streamconversion.hashmd5")
 
 MAXON_DECLARATION (StreamConversionFactory, HashSHA1, "net.maxon.streamconversion.hashsha1")
 
 MAXON_DECLARATION (StreamConversionFactory, HashSHA256, "net.maxon.streamconversion.hashsha256")
 
 MAXON_DECLARATION (StreamConversionFactory, HashSHA512, "net.maxon.streamconversion.hashsha512")
 
 MAXON_DECLARATION (StreamConversionFactory, HashCrc32c, "net.maxon.streamconversion.hashcrc32c")
 
 MAXON_DECLARATION (StreamConversionFactory, HashCrc32zip, "net.maxon.streamconversion.hashcrc32zip")
 
 MAXON_DECLARATION (StreamConversionFactory, HashHmac, "net.maxon.streamconversion.hashhmac")
 
 MAXON_DECLARATION (StreamConversionFactory, ZipEncoder, STREAMCONVERSION::ZIP::ENCODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, ZipDecoder, STREAMCONVERSION::ZIP::DECODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, GZipEncoder, STREAMCONVERSION::GZIP::ENCODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, GZipDecoder, STREAMCONVERSION::GZIP::DECODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, RleEncoder, STREAMCONVERSION::RLE::ENCODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, RleDecoder, STREAMCONVERSION::RLE::DECODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, Lz4Encoder, STREAMCONVERSION::LZ4::ENCODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, Lz4Decoder, STREAMCONVERSION::LZ4::DECODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, Lc4dEncoder, STREAMCONVERSION::LC4D::ENCODER::GetId())
 
 MAXON_DECLARATION (StreamConversionFactory, Lc4dDecoder, STREAMCONVERSION::LC4D::DECODER::GetId())
 

Function Documentation

◆ MAXON_DECLARATION() [1/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Base64Encoder  ,
"net.maxon.streamconversion.base64.encoder"   
)

DATACOMPRESSIONTYPE_BASE64: Base64 encoding/decoding (see BASE64_OPTIONS for options). Use Compress() to Encode, Uncompress() to decode.

◆ MAXON_DECLARATION() [2/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Base64Decoder  ,
"net.maxon.streamconversion.base64.decoder"   
)

◆ MAXON_DECLARATION() [3/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Base64UrlEncoder  ,
"net.maxon.streamconversion.base64url.encoder"   
)

◆ MAXON_DECLARATION() [4/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Base64UrlDecoder  ,
"net.maxon.streamconversion.base64url.decoder"   
)

◆ MAXON_DECLARATION() [5/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
UtfTextEncoder  ,
"net.maxon.streamconversion.utftext.encoder"   
)

UTF files encoding/decoding, based on Byte Order Mark (BOM)

◆ MAXON_DECLARATION() [6/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
UtfTextDecoder  ,
"net.maxon.streamconversion.utftext.decoder"   
)

◆ MAXON_DECLARATION() [7/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HexEncoder  ,
"net.maxon.streamconversion.hex.encoder"   
)

BINARYTOHEX: Hex encoding/decoding. Use Compress() to Encode, Uncompress() to decode.

◆ MAXON_DECLARATION() [8/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HexDecoder  ,
"net.maxon.streamconversion.hex.decoder"   
)

◆ MAXON_DECLARATION() [9/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringSystemCodePageEncoder  ,
"net.maxon.streamconversion." "systemcodepage" "enc  
)

◆ MAXON_DECLARATION() [10/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringSystemCodePageDecoder  ,
"net.maxon.streamconversion." "systemcodepage" "dec"   
)

◆ MAXON_DECLARATION() [11/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringBit8Encoder  ,
"net.maxon.streamconversion." "bit8" "enc  
)

◆ MAXON_DECLARATION() [12/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringBit8Decoder  ,
"net.maxon.streamconversion." "bit8" "dec"   
)

◆ MAXON_DECLARATION() [13/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringBit7HexEncoder  ,
"net.maxon.streamconversion." "hex7" "enc  
)

◆ MAXON_DECLARATION() [14/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringBit7HexDecoder  ,
"net.maxon.streamconversion." "hex7" "dec"   
)

◆ MAXON_DECLARATION() [15/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUtf8Encoder  ,
"net.maxon.streamconversion." "utf8" "enc  
)

◆ MAXON_DECLARATION() [16/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUtf8Decoder  ,
"net.maxon.streamconversion." "utf8" "dec"   
)

◆ MAXON_DECLARATION() [17/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUtf16Encoder  ,
"net.maxon.streamconversion." "utf16" "enc  
)

◆ MAXON_DECLARATION() [18/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUtf16Decoder  ,
"net.maxon.streamconversion." "utf16" "dec"   
)

◆ MAXON_DECLARATION() [19/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlEncoder  ,
"net.maxon.streamconversion." "url" "enc  
)

◆ MAXON_DECLARATION() [20/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlDecoder  ,
"net.maxon.streamconversion." "url" "dec"   
)

◆ MAXON_DECLARATION() [21/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrl32Encoder  ,
"net.maxon.streamconversion." "url32" "enc  
)

◆ MAXON_DECLARATION() [22/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrl32Decoder  ,
"net.maxon.streamconversion." "url32" "dec"   
)

◆ MAXON_DECLARATION() [23/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlPathEncoder  ,
"net.maxon.streamconversion." "urlpath" "enc  
)

◆ MAXON_DECLARATION() [24/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlPathDecoder  ,
"net.maxon.streamconversion." "urlpath" "dec"   
)

◆ MAXON_DECLARATION() [25/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlQueryEncoder  ,
"net.maxon.streamconversion." "urlquery" "enc  
)

◆ MAXON_DECLARATION() [26/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlQueryDecoder  ,
"net.maxon.streamconversion." "urlquery" "dec"   
)

◆ MAXON_DECLARATION() [27/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlQueryParameterEncoder  ,
"net.maxon.streamconversion." "urlqueryparam" "enc  
)

◆ MAXON_DECLARATION() [28/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringUrlQueryParameterDecoder  ,
"net.maxon.streamconversion." "urlqueryparam" "dec"   
)

◆ MAXON_DECLARATION() [29/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringCodePage437Encoder  ,
"net.maxon.streamconversion." "codepage437" "enc  
)

◆ MAXON_DECLARATION() [30/54]

maxon::StreamConversions::MAXON_DECLARATION ( maxon::StreamConversionFactory  ,
StringCodePage437Decoder  ,
"net.maxon.streamconversion." "codepage437" "dec"   
)

◆ MAXON_DECLARATION() [31/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
AesEncoder  ,
"net.maxon.streamconversion.aes.encoder"   
)

◆ MAXON_DECLARATION() [32/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
AesDecoder  ,
"net.maxon.streamconversion.aes.decoder"   
)

◆ MAXON_DECLARATION() [33/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
BlowfishEncoder  ,
"net.maxon.streamconversion.blowfish.encoder"   
)

◆ MAXON_DECLARATION() [34/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
BlowfishDecoder  ,
"net.maxon.streamconversion.blowfish.decoder"   
)

◆ MAXON_DECLARATION() [35/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
BlowfishLegacyEncoder  ,
"net.maxon.streamconversion.blowfishlegacy.encoder"   
)

old c4d encryption

◆ MAXON_DECLARATION() [36/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
BlowfishLegacyDecoder  ,
"net.maxon.streamconversion.blowfishlegacy.decoder"   
)

◆ MAXON_DECLARATION() [37/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
BlowfishLegacyEnDecoder  ,
"net.maxon.streamconversion.blowfishlegacyen.decoder"   
)

old c4d encryption/decrytion within one class, use encoder.Set(BLOWFISHLEGACYENDECODER_OPTIONS::ENCRYPT, true/false)

◆ MAXON_DECLARATION() [38/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashMD5  ,
"net.maxon.streamconversion.hashmd5"   
)

MD5 hash algorithm.

◆ MAXON_DECLARATION() [39/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashSHA1  ,
"net.maxon.streamconversion.hashsha1"   
)

SHA1 hash algorithm.

◆ MAXON_DECLARATION() [40/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashSHA256  ,
"net.maxon.streamconversion.hashsha256"   
)

SHA-256 hash algorithm.

◆ MAXON_DECLARATION() [41/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashSHA512  ,
"net.maxon.streamconversion.hashsha512"   
)

SHA-512 hash algorithm.

◆ MAXON_DECLARATION() [42/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashCrc32c  ,
"net.maxon.streamconversion.hashcrc32c"   
)

Fast Crc algorithm using SSE, it's not compatible to the original Crc32 algorithm used by zip.

◆ MAXON_DECLARATION() [43/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashCrc32zip  ,
"net.maxon.streamconversion.hashcrc32zip"   
)

Crc algorithm used by zip and gzip.

◆ MAXON_DECLARATION() [44/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
HashHmac  ,
"net.maxon.streamconversion.hashhmac"   
)

Hash-based message authentication code allows any hash algorithm to be used with the hmac hashing http://en.wikipedia.org/wiki/HMAC use the settings container with the HASH_HMAC flags to setup the hash algorithm

BaseArray<UChar> key;
key.Insert(0, CharToBlock((const UChar*)"key")) iferr_return;
DataDictionary settings;
settings.Set(HASH_HMAC::BASEALGORITHM, StreamConversions::HashSHA1.GetId());
settings.Set(HASH_HMAC::KEY, key);
String hash = GetPasswordHash("The quick brown fox jumps over the lazy dog"_s, StreamConversions::HashHmac, settings) iferr_return;
PyObject * key
Definition: abstract.h:289
Definition: c4d_string.h:39
PyObject Py_hash_t hash
Definition: dictobject.h:35
maxon::UChar UChar
Definition: ge_sys_math.h:57
Result< String > GetPasswordHash(const String &password, const StreamConversionFactory &hashClass, const DataDictionary &settings=DataDictionary())
Block< const Char > CharToBlock(const Char *str)
Definition: block.h:1016
#define iferr_return
Definition: resultbase.h:1519

◆ MAXON_DECLARATION() [45/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
ZipEncoder  ,
STREAMCONVERSION::ZIP::ENCODER::GetId()   
)

Zip compression (see StreamConversions::ZipEncoderOptions for options).

◆ MAXON_DECLARATION() [46/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
ZipDecoder  ,
STREAMCONVERSION::ZIP::DECODER::GetId()   
)

◆ MAXON_DECLARATION() [47/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
GZipEncoder  ,
STREAMCONVERSION::GZIP::ENCODER::GetId()   
)

GZip compression with gzip header (e.g. used by gzip http encoding).

◆ MAXON_DECLARATION() [48/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
GZipDecoder  ,
STREAMCONVERSION::GZIP::DECODER::GetId()   
)

◆ MAXON_DECLARATION() [49/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
RleEncoder  ,
STREAMCONVERSION::RLE::ENCODER::GetId()   
)

Run Length Encoding.

◆ MAXON_DECLARATION() [50/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
RleDecoder  ,
STREAMCONVERSION::RLE::DECODER::GetId()   
)

◆ MAXON_DECLARATION() [51/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Lz4Encoder  ,
STREAMCONVERSION::LZ4::ENCODER::GetId()   
)

LZ4 compression.

◆ MAXON_DECLARATION() [52/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Lz4Decoder  ,
STREAMCONVERSION::LZ4::DECODER::GetId()   
)

◆ MAXON_DECLARATION() [53/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Lc4dEncoder  ,
STREAMCONVERSION::LC4D::ENCODER::GetId()   
)

LZ4 compression.

◆ MAXON_DECLARATION() [54/54]

maxon::StreamConversions::MAXON_DECLARATION ( StreamConversionFactory  ,
Lc4dDecoder  ,
STREAMCONVERSION::LC4D::DECODER::GetId()   
)