getBytes top-level property

Function getBytes
getter/setter pair

Implementation

Function getBytes = (dataView, startOffset, endOffset) {
  var bytes = [];
  for (var i = startOffset; i < endOffset; i += 1) {
      bytes.add(dataView.getUint8(i));
  }

  return bytes;
};