2
0
Эх сурвалжийг харах

(Java) add Void->BytesData overload to getBytes

Simon Krajewski 11 жил өмнө
parent
commit
a4c1509bfa

+ 1 - 0
std/java/_std/String.hx

@@ -52,6 +52,7 @@
 
 	private function codePointAt( idx : Int ) : Int;
 
+	@:overload(function() : haxe.io.BytesData { })
 	private function getBytes(encoding:String) : haxe.io.BytesData;
 
 	static function fromCharCode( code : Int ) : String;