C# Class RemObjects.InternetPack.Messages.Mime.Decode.StreamUtility

Utility to help reading bytes and strings of a Stream
显示文件 Open project: remobjects/internetpack

Public Methods

Method Description
ReadLineAsAscii ( Stream stream ) : String

Read a line from the stream. ReadLineAsBytes for more documentation.

Private Methods

Method Description
ReadLineAsBytes ( Stream stream ) : Byte[]

Read a line from the stream. A line is interpreted as all the bytes read until a CRLF or LF is encountered.
CRLF pair or LF is not included in the String.

Method Details

ReadLineAsAscii() public static method

Read a line from the stream. ReadLineAsBytes for more documentation.
If is
public static ReadLineAsAscii ( Stream stream ) : String
stream Stream The stream to read from
return String