|
|
 |
 |
|
Asn1BerInputStream Class ReferenceInheritance diagram for Asn1BerInputStream:
List of all members.
Detailed Description
This class handles the input stream for the decoding of ASN.1 messages as specified in the Basic Encoding Rules (BER) as documented in the ITU-T X.690 standard.
Constructor & Destructor Documentation
|
|
This constructor creates a BER input stream object that references an encoded ASN.1 message.
- Parameters:
-
| istream | Input stream containing an encoded ASN.1 message. |
|
Member Function Documentation
| virtual int Available |
( |
|
) |
[virtual] |
|
|
|
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. The next caller might be the same thread or or another thread.
- Returns:
- the number of bytes that can be read from this input stream without blocking.
- Exceptions:
-
| System.SystemException | if an I/O error occurs. |
Implements Asn1InputStream. |
| virtual void Close |
( |
|
) |
[virtual] |
|
|
|
Closes this input stream and releases any system resources associated with the stream.
- Exceptions:
-
| System.SystemException | if an I/O error occurs. |
Implements Asn1InputStream. |
|
|
This method is used to mark the current position in the input stream for retry processing or reseting the input stream position to current position.
Implements Asn1InputStream. |
| virtual bool MarkSupported |
( |
|
) |
[virtual] |
|
|
|
Tests if this input stream supports the seeking. This method is equivalent to C# CanSeek method of System.IO.Stream. - Returns:
true if input stream supports seeking; Otherwise false.
Implements Asn1InputStream. |
|
|
This method is used to reset the current position in the input stream back to the location of the last 'mark' call. It is equivalent to calling 'Stream.Position' to marked location.
Implements Asn1InputStream. |
| override long Skip |
( |
long |
nbytes |
) |
|
|
|
|
This method will skip over the requested number of bytes in the input stream.
- Parameters:
-
| nbytes | Number of bytes to skip |
- Exceptions:
-
| System.SystemException | if an I/O error occurs. |
- Returns:
- Skipped number of bytes
Implements Asn1InputStream. |
|
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.
|
This file was last modified on
18 Nov 2005. ASN1C C# Runtime Library, 5.8 |
|