MemoText

constructor(text: String)

Creates a MEMO_TEXT from a string.

Parameters

text

The text content (will be UTF-8 encoded)

Throws

if the UTF-8 encoded text exceeds 28 bytes


constructor(bytes: ByteArray)

Creates a MEMO_TEXT from raw bytes.

Parameters

bytes

The raw bytes (max 28 bytes)

Throws

if bytes array is longer than 28 bytes