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

com.jtransc.mix.JTranscHaxeInputStream 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
package com.jtransc.mix;

import com.jtransc.JTranscWrapped;
import com.jtransc.annotation.haxe.HaxeAddMembers;
import com.jtransc.annotation.haxe.HaxeMethodBody;

import java.io.IOException;
import java.io.InputStream;

@HaxeAddMembers({
	"public var input:haxe.io.Input;"
})
class JTranscHaxeInputStream extends InputStream {
	@HaxeMethodBody("this.input = p0._wrapped;")
	public JTranscHaxeInputStream(JTranscWrapped value) {
	}

	@Override
	@HaxeMethodBody("return this.input.readByte();")
	public native int read() throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy