/ fm / liveswitch / IDataBufferPool
Interface: IDataBufferPool
fm.liveswitch.IDataBufferPool
A data buffer pool interface.
Implemented by
Table of contents
Methods
Methods
getPooledBytesAvailable
▸ getPooledBytesAvailable(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/IDataBufferPool.ts:9
releasePools
▸ releasePools(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IDataBufferPool.ts:10
take
▸ take(size
: number): DataBuffer
Parameters:
Name | Type |
---|---|
size |
number |
Returns: DataBuffer
Defined in: Generated/TypeScript/fm.liveswitch/IDataBufferPool.ts:11
▸ take(size
: number, littleEndian
: boolean): DataBuffer
Parameters:
Name | Type |
---|---|
size |
number |
littleEndian |
boolean |
Returns: DataBuffer
Defined in: Generated/TypeScript/fm.liveswitch/IDataBufferPool.ts:12
▸ take(size
: number, littleEndian
: boolean, clearBytes
: boolean): DataBuffer
Parameters:
Name | Type |
---|---|
size |
number |
littleEndian |
boolean |
clearBytes |
boolean |
Returns: DataBuffer
Defined in: Generated/TypeScript/fm.liveswitch/IDataBufferPool.ts:13