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

Inheritance: System.IO.Stream
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode 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

Méthode Description
StripPreamble ( byte buffer, int &offset, int &count ) : void
ValidateWriteParameters ( byte buffer, int offset, int count ) : void

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

TdsOutputStream() public méthode

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

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteAsync() public méthode

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
Résultat Task