Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Crain99/cc-reverse
/ readStr
Method
readStr
src/core/cocos3x/notepack.js:141–146 ·
view source on GitHub ↗
(len)
Source
from the content-addressed store, hash-verified
139
}
140
141
readStr(len) {
142
this.require(len);
143
const
s = this.buf.toString(
'utf-8'
, this.offset, this.offset + len);
144
this.offset += len;
145
return
s;
146
}
147
148
readBin(len) {
149
this.require(len);
Callers
1
parse
Method · 0.95
Calls
1
require
Method · 0.95
Tested by
no test coverage detected