* Read UTF string (length-prefixed) * 读取 UTF 字符串(带长度前缀)
()
| 335 | * 读取 UTF 字符串(带长度前缀) |
| 336 | */ |
| 337 | public readUTFString(): string { |
| 338 | const len = this.getUint16(); |
| 339 | if (len === 0) { |
| 340 | return ''; |
| 341 | } |
| 342 | return this.readStringWithLength(len); |
| 343 | } |
| 344 | |
| 345 | /** |
| 346 | * Read string array |
no test coverage detected