MCPcopy Create free account
hub / github.com/Stuk/jszip / DataReader

Function DataReader

lib/reader/DataReader.js:4–9  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

2var utils = require("../utils");
3
4function DataReader(data) {
5 this.data = data; // type : see implementation
6 this.length = data.length;
7 this.index = 0;
8 this.zero = 0;
9}
10DataReader.prototype = {
11 /**
12 * Check that the offset will not go too far.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected