-
public interface MemoContentZIP-302 compliant Memo representation. See https://zips.z.cash/zip-0302
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMemoContent.EmptyEmpty memo (0xF6 followed by 511 null bytes)
public final classMemoContent.TextText memo (first byte 0x00-0xF4, UTF-8 encoded text)
public final classMemoContent.FutureFuture memo format (reserved for future ZIP updates)
First byte is 0xF5
First byte is 0xF6 with non-zero bytes following
First byte is 0xF7-0xFE
public final classMemoContent.ArbitraryArbitrary data memo (first byte is 0xFF) The data doesn't include the 0xFF leading byte.
public classMemoContent.Companion
-
Method Summary
Modifier and Type Method Description StringtoStringOrNull()Represent memo as String. MemoBytesasMemoBytes()Converts this memo to MemoBytes representation -
-
Method Detail
-
toStringOrNull
String toStringOrNull()
Represent memo as String. Only
.textmemo can be represented as String.
-
asMemoBytes
MemoBytes asMemoBytes()
Converts this memo to MemoBytes representation
-
-
-
-