C# Class Newtonsoft.Json.Utilities.BufferUtils

ファイルを表示 Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Public Methods

Method Description
EnsureBufferSize ( IArrayPool bufferPool, int size, char buffer ) : char[]
RentBuffer ( IArrayPool bufferPool, int minSize ) : char[]
ReturnBuffer ( IArrayPool bufferPool, char buffer ) : void

Method Details

EnsureBufferSize() public static method

public static EnsureBufferSize ( IArrayPool bufferPool, int size, char buffer ) : char[]
bufferPool IArrayPool
size int
buffer char
return char[]

RentBuffer() public static method

public static RentBuffer ( IArrayPool bufferPool, int minSize ) : char[]
bufferPool IArrayPool
minSize int
return char[]

ReturnBuffer() public static method

public static ReturnBuffer ( IArrayPool bufferPool, char buffer ) : void
bufferPool IArrayPool
buffer char
return void