MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / constructor

Method constructor

g2all/900/module/rw.js:30–33  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

28// since we use the .buffer getter to create a DataView
29export class BufferView extends Uint8Array {
30 constructor(...args) {
31 super(...args);
32 this._dview = new DataView(this.buffer, this.byteOffset);
33 }
34
35 read16(offset) {
36 return this._dview.getUint16(offset, true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected