C# Class Org.BouncyCastle.Bcpg.BcpgInputStream.PartialInputStream

A stream that overlays our input stream, allowing the user to only read a segment of it. NB: dataLength will be negative if the segment length is in the upper range above 2**31.
Inheritance: Org.BouncyCastle.Utilities.IO.BaseInputStream
Show file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int

Private Methods

Method Description
PartialInputStream ( BcpgInputStream bcpgIn, bool partial, int dataLength ) : System
ReadPartialDataLength ( ) : int

Method Details

Read() public method

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

ReadByte() public method

public ReadByte ( ) : int
return int