lightning-kmp
/
fr.acinq.lightning.io
/
LightningSession
common
Lightning
Session
class
LightningSession
(enc:
CipherState
, dec:
CipherState
, ck:
ByteArray
)
Content copied to clipboard
Functions
Properties
Functions
receive
Link copied to clipboard
common
suspend fun
receive
(readBytes: suspend (
Int
) ->
ByteArray
):
ByteArray
Content copied to clipboard
send
Link copied to clipboard
common
suspend fun
send
(data:
ByteArray
, write: suspend (
ByteArray
, flush:
Boolean
) ->
Unit
)
Content copied to clipboard
Properties
dec
Link copied to clipboard
common
val
dec
:
CipherState
Content copied to clipboard
decryptor
Link copied to clipboard
common
var
decryptor
:
CipherState
Content copied to clipboard
enc
Link copied to clipboard
common
val
enc
:
CipherState
Content copied to clipboard
encryptor
Link copied to clipboard
common
var
encryptor
:
CipherState
Content copied to clipboard