Skip to content

Commit

Permalink
Merge pull request #72 from moxaj/add_skip
Browse files Browse the repository at this point in the history
Add extern for ByteBuffer#skip, fix typo at readBitSet
  • Loading branch information
dcodeIO authored Nov 29, 2016
2 parents 1cc9bd3 + 0910926 commit fbefed7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion externs/bytebuffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,18 @@ ByteBuffer.prototype.fromHex = function(str, littleEndian, noAssert) {};
*/
ByteBuffer.prototype.fromUTF8 = function(str, littleEndian, noAssert) {};


/**
* @param {number} capacity
* @returns {boolean}
*/
ByteBuffer.prototype.resize = function(capacity) {};

/**
* @param {number} length
* @returns {!ByteBuffer}
*/
ByteBuffer.prototype.skip = function(length) {};

/**
* @param {number} begin
* @param {number} end
Expand Down

0 comments on commit fbefed7

Please sign in to comment.