C# Class XSpect.Extension.StreamUtil

显示文件 Open project: takeshik/linx

Public Methods

Method Description
Read ( this stream, Byte buffer ) : Int32
ReadAll ( this stream ) : Byte[]
ReadAll ( this stream, Int32 bufferSize ) : Byte[]
Write ( this stream, Byte buffer ) : void

Method Details

Read() public static method

public static Read ( this stream, Byte buffer ) : Int32
stream this
buffer Byte
return System.Int32

ReadAll() public static method

public static ReadAll ( this stream ) : Byte[]
stream this
return Byte[]

ReadAll() public static method

public static ReadAll ( this stream, Int32 bufferSize ) : Byte[]
stream this
bufferSize System.Int32
return Byte[]

Write() public static method

public static Write ( this stream, Byte buffer ) : void
stream this
buffer Byte
return void