C# Class Microsoft.Http.HttpContent.Content

Mostrar archivo Open project: o2platform/O2.Platform.Projects

Public Methods

Method Description
Close ( ) : void
ReadAsBytes ( long length ) : byte[]
ReadAsStream ( ) : Stream
ToString ( ) : string
WriteTo ( Stream other, long length ) : void

Protected Methods

Method Description
CreateMemoryStreamWithWriteTo ( long length ) : MemoryStream
WriteTo ( Stream other ) : void

Method Details

Close() public method

public Close ( ) : void
return void

CreateMemoryStreamWithWriteTo() protected method

protected CreateMemoryStreamWithWriteTo ( long length ) : MemoryStream
length long
return System.IO.MemoryStream

ReadAsBytes() public method

public ReadAsBytes ( long length ) : byte[]
length long
return byte[]

ReadAsStream() public abstract method

public abstract ReadAsStream ( ) : Stream
return Stream

ToString() public abstract method

public abstract ToString ( ) : string
return string

WriteTo() protected abstract method

protected abstract WriteTo ( Stream other ) : void
other Stream
return void

WriteTo() public method

public WriteTo ( Stream other, long length ) : void
other Stream
length long
return void