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:
11
website/functions/node_modules/bytebuffer/src/methods/flip.js
generated
vendored
Normal file
11
website/functions/node_modules/bytebuffer/src/methods/flip.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Makes this ByteBuffer ready for a new sequence of write or relative read operations. Sets `limit = offset` and
|
||||
* `offset = 0`. Make sure always to flip a ByteBuffer when all relative read or write operations are complete.
|
||||
* @returns {!ByteBuffer} this
|
||||
* @expose
|
||||
*/
|
||||
ByteBufferPrototype.flip = function() {
|
||||
this.limit = this.offset;
|
||||
this.offset = 0;
|
||||
return this;
|
||||
};
|
Reference in New Issue
Block a user