Internal utilities

Ingvar Stepanyan edited this page Aug 27, 2013 · 3 revisions

jDataView internally uses wrapBuffer and createBuffer - utilities for creating buffers with the latest available storage type (Node.js Buffer, ArrayBuffer, CanvasPixelArray or simple Array) from any source data.

  • wrapBuffer(string_or_bytes_or_byteCount)
  • createBuffer(byte1, byte2, ...)