Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ _readRLELength
Method
_readRLELength
systemvm/agent/noVNC/core/decoders/zrle.js:176–184 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
174
}
175
176
_readRLELength() {
177
let
length = 0;
178
let
current = 0;
179
do {
180
current = this._inflator.inflate(1)[0];
181
length += current;
182
}
while
(current === 255);
183
return
length + 1;
184
}
185
}
Callers
2
_decodeRLETile
Method · 0.95
_decodeRLEPaletteTile
Method · 0.95
Calls
1
inflate
Method · 0.80
Tested by
no test coverage detected