XModemFile

data class XModemFile(val name: String, val data: ByteArray)(source)

A file received via an XModem transfer from the connected device.

Constructors

Link copied to clipboard
constructor(name: String, data: ByteArray)

Properties

Link copied to clipboard

Raw bytes of the received file (trailing CTRLZ padding stripped).

Link copied to clipboard

Filename as set via XModemManager.setTransferName before the transfer started.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int