TransformType

Type Alias TransformType 

Source
pub type TransformType = BNTransformType;

Aliased Type§

#[repr(u16)]
pub enum TransformType { BinaryCodecTransform = 0, TextCodecTransform = 1, UnicodeCodecTransform = 2, DecodeTransform = 3, BinaryEncodeTransform = 4, TextEncodeTransform = 5, EncryptTransform = 6, InvertingTransform = 7, HashTransform = 8, }

Variants§

§

BinaryCodecTransform = 0

Two-way transform of data, binary input/output

§

TextCodecTransform = 1

Two-way transform of data, encoder output is text

§

UnicodeCodecTransform = 2

Two-way transform of data, encoder output is Unicode string (as UTF8)

§

DecodeTransform = 3

One-way decode only

§

BinaryEncodeTransform = 4

One-way encode only, output is binary

§

TextEncodeTransform = 5

One-way encode only, output is text

§

EncryptTransform = 6

Two-way encryption

§

InvertingTransform = 7

Transform that can be undone by performing twice

§

HashTransform = 8

Hash function