mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[ts] Fixed bug of reading Unicode from binary data (#2051)
This commit is contained in:
parent
3372ce0ba8
commit
01a36f81c3
@ -1022,7 +1022,7 @@ export class BinaryInput {
|
||||
let chars = "";
|
||||
let charCount = 0;
|
||||
for (let i = 0; i < byteCount;) {
|
||||
let b = this.readByte();
|
||||
let b = this.readUnsignedByte();
|
||||
switch (b >> 4) {
|
||||
case 12:
|
||||
case 13:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user