mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
small optimization
This commit is contained in:
@@ -71,8 +71,7 @@ if (_IEFilter) {
|
||||
var byteMapping = {};
|
||||
for (var i = 0; i < 256; i++) {
|
||||
for (var j = 0; j < 256; j++) {
|
||||
byteMapping[ String.fromCharCode(i + j * 256) ] =
|
||||
String.fromCharCode(i) + String.fromCharCode(j);
|
||||
byteMapping[ String.fromCharCode(i + j * 256) ] = String.fromCharCode(i, j);
|
||||
}
|
||||
}
|
||||
var rawBytes = IEBinaryToArray_ByteStr(binary);
|
||||
|
||||
Reference in New Issue
Block a user