Browse Source

(Java) add Void->BytesData overload to getBytes

Simon Krajewski 11 years ago
parent
commit
a4c1509bfa
1 changed files with 1 additions and 0 deletions
  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;