Pārlūkot izejas kodu

fix Bytes.toString() for flash (#6218)

Alexander Kuzmenko 8 gadi atpakaļ
vecāks
revīzija
b92976545d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      std/haxe/io/Bytes.hx

+ 1 - 1
std/haxe/io/Bytes.hx

@@ -425,7 +425,7 @@ class Bytes {
 		return new String(untyped __dollar__ssub(b,0,length));
 		#elseif flash
 		b.position = 0;
-		return b.readUTFBytes(length);
+		return b.toString();
 		#elseif php
 		return b.toString();
 		#elseif cs