jDataView constructor

Ingvar Stepanyan edited this page Aug 27, 2013 · 1 revision

new jDataView(buffer, offset, length, littleEndian = false)

  • buffer can be either a binary String, any Array-like byte storage (Array, Uint8Array, Arguments, jQuery(Array), ...) or count of bytes if you want to operate on new empty buffer.
  • littleEndian = false (Big Endian mode) is a default value for the view