Skip to content

Commit

Permalink
remove unused _getBit
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Oct 30, 2016
1 parent 6691ecd commit 377d259
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bit-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ Object.defineProperty(BitView.prototype, 'byteLength', {
configurable: false
});

BitView.prototype._getBit = function (offset) {
return this._view[offset >> 3] >> (offset & 7) & 0x1;
};

BitView.prototype._setBit = function (offset, on) {
if (on) {
this._view[offset >> 3] |= 1 << (offset & 7);
Expand Down

0 comments on commit 377d259

Please sign in to comment.