mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-17 10:46:01 +00:00
Modules
This commit is contained in:
9
node_modules/bytebuffer/src/methods/remaining.js
generated
vendored
Normal file
9
node_modules/bytebuffer/src/methods/remaining.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Gets the number of remaining readable bytes. Contents are the bytes between {@link ByteBuffer#offset} and
|
||||
* {@link ByteBuffer#limit}, so this returns `limit - offset`.
|
||||
* @returns {number} Remaining readable bytes. May be negative if `offset > limit`.
|
||||
* @expose
|
||||
*/
|
||||
ByteBufferPrototype.remaining = function() {
|
||||
return this.limit - this.offset;
|
||||
};
|
Reference in New Issue
Block a user