C# Class Org.BouncyCastle.Bcpg.BcpgInputStream

Reader for PGP objects.
Inheritance: Org.BouncyCastle.Utilities.IO.BaseInputStream
Exibir arquivo Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Close ( ) : void
NextPacketTag ( ) : PacketTag

Returns the next packet tag in the stream.

Read ( byte buffer, int offset, int count ) : int
ReadAll ( ) : byte[]
ReadByte ( ) : int
ReadFully ( byte buffer ) : void
ReadFully ( byte buffer, int off, int len ) : void
ReadPacket ( ) : Packet

Private Methods

Method Description
BcpgInputStream ( Stream inputStream ) : System
Wrap ( Stream inStr ) : BcpgInputStream

Method Details

Close() public method

public Close ( ) : void
return void

NextPacketTag() public method

Returns the next packet tag in the stream.
public NextPacketTag ( ) : PacketTag
return PacketTag

Read() public method

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

ReadAll() public method

public ReadAll ( ) : byte[]
return byte[]

ReadByte() public method

public ReadByte ( ) : int
return int

ReadFully() public method

public ReadFully ( byte buffer ) : void
buffer byte
return void

ReadFully() public method

public ReadFully ( byte buffer, int off, int len ) : void
buffer byte
off int
len int
return void

ReadPacket() public method

public ReadPacket ( ) : Packet
return Packet