C# Class System.IO.ByteBufferAllocator

Inheritance: IByteBufferPool
显示文件 Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
ByteBufferAllocator ( int bufferSize ) : System
GetBuffer ( ) : byte[]
ReturnBuffer ( byte buffer ) : void

Method Details

ByteBufferAllocator() public method

public ByteBufferAllocator ( int bufferSize ) : System
bufferSize int
return System

GetBuffer() public method

public GetBuffer ( ) : byte[]
return byte[]

ReturnBuffer() public method

public ReturnBuffer ( byte buffer ) : void
buffer byte
return void