C# Class CSharpRTMP.Common.StreamUtil

Show file Open project: langhuihui/csharprtmp

Public Methods

Method Description
CopyDataTo ( this source, Stream target, int length ) : void
CopyPartTo ( this source, Stream target, int length ) : void
Dump ( this s ) : string
GetAvaliableByteCounts ( this s ) : long
IgnoreAll ( this s ) : void
Recycle ( this s ) : void

Method Details

CopyDataTo() public static method

public static CopyDataTo ( this source, Stream target, int length ) : void
source this
target Stream
length int
return void

CopyPartTo() public static method

public static CopyPartTo ( this source, Stream target, int length ) : void
source this
target Stream
length int
return void

Dump() public static method

public static Dump ( this s ) : string
s this
return string

GetAvaliableByteCounts() public static method

public static GetAvaliableByteCounts ( this s ) : long
s this
return long

IgnoreAll() public static method

public static IgnoreAll ( this s ) : void
s this
return void

Recycle() public static method

public static Recycle ( this s ) : void
s this
return void