Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.Json.PooledByteBufferWriter Class Referencesealed

Public Member Functions

 PooledByteBufferWriter (int initialCapacity)
 
void Clear ()
 
void Dispose ()
 
void Advance (int count)
 
Memory< byte > GetMemory (int sizeHint=0)
 
Span< byte > GetSpan (int sizeHint=0)
 

Package Functions

ValueTask WriteToStreamAsync (Stream destination, CancellationToken cancellationToken)
 
void WriteToStream (Stream destination)
 

Properties

ReadOnlyMemory< byte > WrittenMemory [get]
 
int Capacity [get]
 

Private Member Functions

void ClearHelper ()
 
void CheckAndResizeBuffer (int sizeHint)
 

Private Attributes

byte[] _rentedBuffer
 
int _index
 

Detailed Description

Definition at line 8 of file PooledByteBufferWriter.cs.


The documentation for this class was generated from the following file: