C# Class Universe.Framework.Servers.HttpServer.HttpServerHandlerHelpers

Datei anzeigen Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
ReadBytes ( Stream stream ) : byte[]
ReadFully ( Stream stream ) : byte[]
ReadString ( Stream stream ) : string
WriteChunked ( Stream stream, byte content ) : void
WriteNonChunked ( Stream stream, byte content ) : void

Method Details

ReadBytes() public static method

public static ReadBytes ( Stream stream ) : byte[]
stream Stream
return byte[]

ReadFully() public static method

public static ReadFully ( Stream stream ) : byte[]
stream Stream
return byte[]

ReadString() public static method

public static ReadString ( Stream stream ) : string
stream Stream
return string

WriteChunked() public static method

public static WriteChunked ( Stream stream, byte content ) : void
stream Stream
content byte
return void

WriteNonChunked() public static method

public static WriteNonChunked ( Stream stream, byte content ) : void
stream Stream
content byte
return void