simple refactoring
This commit is contained in:
@@ -11,9 +11,8 @@ class McTransport() {
|
|||||||
|
|
||||||
fun writeToFile(bytes: ByteArray) {
|
fun writeToFile(bytes: ByteArray) {
|
||||||
println("write: " + bytes)
|
println("write: " + bytes)
|
||||||
val bytesT = bytes
|
val bytesTemp = bytes
|
||||||
writeStream.write(js("new Buffer(bytesT)"));
|
writeStream.write(js("new Buffer(bytesTemp)"));
|
||||||
// writeStream.end();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun writeToFile(byte: Byte) {
|
fun writeToFile(byte: Byte) {
|
||||||
|
|||||||
Reference in New Issue
Block a user