C# Class Streams.Base64DecoderStream

Inheritance: ReadOnlyStreamWrapper
Show file Open project: jamesfoster/Streams

Public Methods

Method Description
Base64DecoderStream ( Stream inner, Base64DecodeMode whitespaces = Base64DecodeMode.IgnoreWhiteSpaces ) : System
Read ( byte buffer, int offset, int count ) : int

Private Methods

Method Description
ConvertInputFromBase64 ( int length, byte outputArray, int outputOffset ) : int
SkipWhitespace ( char c ) : bool

Method Details

Base64DecoderStream() public method

public Base64DecoderStream ( Stream inner, Base64DecodeMode whitespaces = Base64DecodeMode.IgnoreWhiteSpaces ) : System
inner Stream
whitespaces Base64DecodeMode
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int