Selaa lähdekoodia

(Java) add Void->BytesData overload to getBytes

Simon Krajewski 11 vuotta sitten
vanhempi
commit
a4c1509bfa
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      std/java/_std/String.hx

+ 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;