All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hx.JavaHaxeInput.hx Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
{{ HAXE_CLASS_ANNOTATIONS }}
class JavaHaxeInput {
}

{{ HAXE_CLASS_ANNOTATIONS }}
class Haxe extends haxe.io.Input {
	{{ HAXE_FIELD_ANNOTATIONS }}
	var i: {% CLASS java.io.InputStream %};

	{{ HAXE_CONSTRUCTOR_ANNOTATIONS }}
	public function new(i) {
		this.i = i;
	}

	{{ HAXE_METHOD_ANNOTATIONS }}
	override public function readByte():Int return this.i{% IMETHOD java.io.InputStream:read:()I %}();
}

{{ HAXE_CLASS_ANNOTATIONS }}
class Java extends {% CLASS java.io.InputStream %} {
	{{ HAXE_FIELD_ANNOTATIONS }}
	var i: haxe.io.Input;

	{{ HAXE_CONSTRUCTOR_ANNOTATIONS }}
	public function new(i) {
		super();
		this.i = i;
	}

	{{ HAXE_METHOD_ANNOTATIONS }}
	override public function {% METHOD java.io.InputStream:read:()I %}() return i.readByte();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy