Skip to content
This repository was archived by the owner on May 30, 2020. It is now read-only.
This repository was archived by the owner on May 30, 2020. It is now read-only.

get/set related errors with autobahn.js #45

Description

@misotolar

More get/set related syntax errors with autobahn.js:

  // save reference to original Uint8Array set method before overwriting
  arr._set = arr.set

  // deprecated
  arr.get = BP.get
  arr.set = BP.set

compiled:

var r=i.prototype;i._augment=function(e){e.constructor=i;e._isBuffer=!0;e._set=e.set arr.get=r.get arr.set=r.set arr.write=r.write;e.toString=r.toString;e.toLocaleString=r.toString;e.toJSON=r.toJSON;e.equals=r.equals;e.compare=r.compare;e.indexOf=r.indexOf;e.copy=r.copy;e.slice=r.slice;e.readUIntLE=r.readUIntLE;e.readUIntBE=r.readUIntBE;e.readUInt8=r.readUInt8;e.readUInt16LE=r.readUInt16LE;e.readUInt16BE=r.readUInt16BE;e.readUInt32LE=r.readUInt32LE;e.readUInt32BE=r.readUInt32BE;e.readIntLE=r.readIntLE;e.readIntBE=r.readIntBE;e.readInt8=r.readInt8;e.readInt16LE=r.readInt16LE;e.readInt16BE=r.readInt16BE;e.readInt32LE=r.readInt32LE;e.readInt32BE=r.readInt32BE;e.readFloatLE=r.readFloatLE;e.readFloatBE=r.readFloatBE;e.readDoubleLE=r.readDoubleLE;e.readDoubleBE=r.readDoubleBE;e.writeUInt8=r.writeUInt8;e.writeUIntLE=r.writeUIntLE;e.writeUIntBE=r.writeUIntBE;e.writeUInt16LE=r.writeUInt16LE;e.writeUInt16BE=r.writeUInt16BE;e.writeUInt32LE=r.writeUInt32LE;e.writeUInt32BE=r.writeUInt32BE;e.writeIntLE=r.writeIntLE;e.writeIntBE=r.writeIntBE;e.writeInt8=r.writeInt8;e.writeInt16LE=r.writeInt16LE;e.writeInt16BE=r.writeInt16BE;e.writeInt32LE=r.writeInt32LE;e.writeInt32BE=r.writeInt32BE;e.writeFloatLE=r.writeFloatLE;e.writeFloatBE=r.writeFloatBE;e.writeDoubleLE=r.writeDoubleLE;e.writeDoubleBE=r.writeDoubleBE;e.fill=r.fill;e.inspect=r.inspect;e.toArrayBuffer=r.toArrayBuffer;return e}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions