MCPcopy Create free account
hub / github.com/awayjs/core / getBytesAvailable

Method getBytesAvailable

lib/utils/ByteArray.ts:55–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 }
54
55 public getBytesAvailable(): number {
56 return (this.length) - (this.position);
57 }
58
59 public ensureSpace(n: number): void {
60 if (n > this.maxlength) {

Callers 3

constructorMethod · 0.95
toStringMethod · 0.45
ByteArrayTestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected