C# Class System.Data.SqlClient.TdsParser.TdsOutputStream

Inheritance: System.IO.Stream
Show file Open project: dotnet/corefx

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
TdsOutputStream ( TdsParser parser, TdsParserStateObject stateObj, byte preambleToStrip ) : System.Collections.Generic
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
StripPreamble ( byte buffer, int &offset, int &count ) : void
ValidateWriteParameters ( 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

TdsOutputStream() public method

public TdsOutputStream ( TdsParser parser, TdsParserStateObject stateObj, byte preambleToStrip ) : System.Collections.Generic
parser TdsParser
stateObj TdsParserStateObject
preambleToStrip byte
return System.Collections.Generic

Write() public method

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

WriteAsync() public method

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
return Task