C# Class Newtonsoft.Json.Utilities.StringBuffer

Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer.
Afficher le fichier Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Méthodes publiques

Méthode Description
Append ( IArrayPool bufferPool, char value ) : void
Append ( IArrayPool bufferPool, char buffer, int startIndex, int count ) : void
Clear ( IArrayPool bufferPool ) : void
StringBuffer ( IArrayPool bufferPool, int initalSize ) : System
ToString ( ) : string
ToString ( int start, int length ) : string

Private Methods

Méthode Description
EnsureSize ( IArrayPool bufferPool, int appendLength ) : void
StringBuffer ( char buffer ) : System

Method Details

Append() public méthode

public Append ( IArrayPool bufferPool, char value ) : void
bufferPool IArrayPool
value char
Résultat void

Append() public méthode

public Append ( IArrayPool bufferPool, char buffer, int startIndex, int count ) : void
bufferPool IArrayPool
buffer char
startIndex int
count int
Résultat void

Clear() public méthode

public Clear ( IArrayPool bufferPool ) : void
bufferPool IArrayPool
Résultat void

StringBuffer() public méthode

public StringBuffer ( IArrayPool bufferPool, int initalSize ) : System
bufferPool IArrayPool
initalSize int
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

ToString() public méthode

public ToString ( int start, int length ) : string
start int
length int
Résultat string