-
public class MemoContent.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerMAX_MEMO_LENGTH_BYTESpublic final static MemoContent.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final MemoContentfromBytes(ByteArray bytes)Parses the given bytes as per ZIP-302 final MemoContentfromString(String string)Creates a text memo from a string final Integerlength(String memoText)Use this function to know the size of the text in memo bytes. final IntegergetMAX_MEMO_LENGTH_BYTES()The maximum length of a memo in bytes. -
-
Method Detail
-
fromBytes
final MemoContent fromBytes(ByteArray bytes)
Parses the given bytes as per ZIP-302
-
fromString
final MemoContent fromString(String string)
Creates a text memo from a string
-
length
final Integer length(String memoText)
Use this function to know the size of the text in memo bytes.
-
getMAX_MEMO_LENGTH_BYTES
final Integer getMAX_MEMO_LENGTH_BYTES()
The maximum length of a memo in bytes.
-
-
-
-