Class: AxMem

AxMem()

new AxMem()

Creates an instane of AxMem AxMem provides tools for memory management
Source:

Methods

(static) Fill(destination, destinationOffset, fillSize, value, valueOffset, valueSize)

Fills a block of a certain size of an ArrayBuffer, by repeatedly writing a given value, which is also located in an ArrayBuffer
Parameters:
Name Type Description
destination ArrayBuffer The ArrayBuffer which to fill
destinationOffset Number The offset location at which to fill
fillSize Number The size in bytes of the block to fill
value ArrayBuffer The ArrayBuffer holding the value which is to be filled
valueOffset Number The offset location where the value which is to be filled is
valueSize Number The size of the fill value
Source:

(static) Get(size) → {ArrayBuffer}

Returns a new ArrayBuffer of the designed size
Parameters:
Name Type Description
size Number The size to allocate
Source:
Returns:
A new ArrayBuffer of the designed size
Type
ArrayBuffer

(static) Zero(destination, destinationOffset, size)

Returns a new ArrayBuffer of the designed size
Parameters:
Name Type Description
destination ArrayBuffer The ArrayBuffer to be zeroed
destinationOffset Number The location in bytes where memory will be zeroed
size Number The size of the memory to be zeroed
Source:

Documentation generated by JSDoc 3.5.3 on Wed Jan 17 2018 17:06:57 GMT+0200 (FLE Standard Time)