mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-27 07:20:19 +00:00
push all website files
This commit is contained in:
13
website/functions/node_modules/bytebuffer/src/methods/clear.js
generated
vendored
Normal file
13
website/functions/node_modules/bytebuffer/src/methods/clear.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Clears this ByteBuffer's offsets by setting {@link ByteBuffer#offset} to `0` and {@link ByteBuffer#limit} to the
|
||||
* backing buffer's capacity. Discards {@link ByteBuffer#markedOffset}.
|
||||
* @returns {!ByteBuffer} this
|
||||
* @expose
|
||||
*/
|
||||
ByteBufferPrototype.clear = function() {
|
||||
this.offset = 0;
|
||||
this.limit = /*?= CAPACITY */;
|
||||
this.markedOffset = -1;
|
||||
return this;
|
||||
};
|
||||
|
Reference in New Issue
Block a user