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

com.jtransc.mix.JTranscHaxeOutputStream 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;
import java.io.OutputStream;

@HaxeAddMembers({
	"public var output:haxe.io.Output;"
})
class JTranscHaxeOutputStream extends OutputStream {
	@HaxeMethodBody("this.output = p0._wrapped;")
	public JTranscHaxeOutputStream(JTranscWrapped value) {
	}

	@Override
	@HaxeMethodBody("this.output.writeByte(p0);")
	public native void write(int b) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy