MemoText

class MemoText : Memo

Represents MEMO_TEXT - a UTF-8 string up to 28 bytes long.

Throws

if the text is longer than 28 bytes when UTF-8 encoded

Constructors

Link copied to clipboard
constructor(text: String)

Creates a MEMO_TEXT from a string.

constructor(bytes: ByteArray)

Creates a MEMO_TEXT from raw bytes.

Properties

Link copied to clipboard
Link copied to clipboard

The text content of the memo

Functions

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

Converts this memo to its XDR representation.