Package fr.acinq.bitcoin.io

Types

Link copied to clipboard
class ByteArrayInput(array: ByteArray) : Input
Link copied to clipboard
class ByteArrayOutput : Output
Link copied to clipboard
interface Input
Link copied to clipboard
class InputStreamInput(stream: InputStream) : Input
Link copied to clipboard
interface Output
Link copied to clipboard
class OutputStreamOutput(stream: OutputStream) : Output

Functions

Link copied to clipboard
fun Input.readNBytes(n: Int): ByteArray?

Read bytes from the input. Return null if the input is too small.