Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
constructor
Method · 0.95
toString
Method · 0.45
ByteArrayTest
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected