C# Class Newtonsoft.Json.Tests.SlowStream

Inheritance: Stream
Show file Open project: Top-Cat/SteamBot

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
SlowStream ( byte content, int bytesPerRead ) : System
SlowStream ( string content, Encoding encoding, int bytesPerRead ) : System
Write ( byte buffer, int offset, int count ) : void

Method Details

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

SlowStream() public method

public SlowStream ( byte content, int bytesPerRead ) : System
content byte
bytesPerRead int
return System

SlowStream() public method

public SlowStream ( string content, Encoding encoding, int bytesPerRead ) : System
content string
encoding System.Text.Encoding
bytesPerRead int
return System

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void