bitcoin-kmp
0.11.1
common
jvm
bitcoin-kmp
/
fr.acinq.bitcoin.io
/
Input
Input
common
interface
Input
Content copied to clipboard
Functions
Properties
Extensions
Inheritors
Functions
read
Link copied to clipboard
common
abstract
fun
read
(
)
:
Int
Content copied to clipboard
abstract
fun
read
(
b
:
ByteArray
,
offset
:
Int
=
0
,
length
:
Int
=
b.size - offset
)
:
Int
Content copied to clipboard
Properties
availableBytes
Link copied to clipboard
common
abstract
val
availableBytes
:
Int
Content copied to clipboard
Inheritors
ByteArrayInput
Link copied to clipboard
InputStreamInput
Link copied to clipboard
Extensions
read
NBytes
Link copied to clipboard
common
fun
Input
.
readNBytes
(
n
:
Int
)
:
ByteArray
?
Content copied to clipboard
Read bytes from the input. Return null if the input is too small.