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

jvmMain.fr.acinq.bitcoin.io.OutputStreamOutput.kt Maven / Gradle / Ivy

Go to download

A simple Kotlin Multiplatform library which implements most of the bitcoin protocol

The newest version!
package fr.acinq.bitcoin.io

import java.io.OutputStream

public class OutputStreamOutput(private val stream: OutputStream) : Output {

    override fun write(buffer: ByteArray, offset: Int, count: Int) {
        stream.write(buffer, offset, count)
    }

    override fun write(byteValue: Int) {
        stream.write(byteValue)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy