FromBase64Transform

FromBase64Transform


Transforms data from base-64 to plain text.


Implements:

ICryptoTransform 
IObject 

Public:

Types:

NameDescription
 FromBase64TransformMode Represents choices to ignore white spaces when tranforming blocks of text.  

Properties:

NameDescription
 CanReuseTransform (get) Returns if the transform instance can be reused after transforming the final data.  
 CanTransformMultipleBlocks (get) Returns if TransformBlock can transform multiple blocks can be transformed in a single call.  
 InputBlockSize (get) Returns then block size the input data must be, or be a multiple of.  
 OutputBlockSize (get) Returns the block size of the output data.  

Methods:

NameDescription
 Clear Releases any resources held in the transform.  
 Equals This function determines if the value passed in is the same as the current object instance. Meaning, are the Value and this object the same object in memory.  
 GetHashCode Returns a psuedo-unique number used to help identify this object in memory. The current method is to return the value obtained from ObjPtr. If a different method needs to be impelmented then change the method here in this function.

An override might be necessary if the hashcode should be derived from a value contained within the class.  

 ToString Returns a string representation of this object instance. The default method simply returns the application name and class name in which this class resides.

A Person class may return the persons name instead.  

 TransformBlock Transforms a block of data from a base-64 encoding to plain text.  
 TransformFinalBlock Transforms a block of data and any data that has been buffered from previous TransformBlock calls.  

Remarks

This class is used primarily in conjunction with the CryptoStream class and shouldnt be used to process large amounts of data manually. For that use the Convert.FromBase64String method.

See Also

Project CorLib Overview

Class FromBase64Transform Overview