Package 

Interface MemoContent


  • 
    public interface MemoContent
    
                        

    ZIP-302 compliant Memo representation. See https://zips.z.cash/zip-0302

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class MemoContent.Empty

      Empty memo (0xF6 followed by 511 null bytes)

      public final class MemoContent.Text

      Text memo (first byte 0x00-0xF4, UTF-8 encoded text)

      public final class MemoContent.Future

      Future 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 class MemoContent.Arbitrary

      Arbitrary data memo (first byte is 0xFF) The data doesn't include the 0xFF leading byte.

      public class MemoContent.Companion
    • Method Summary

      Modifier and Type Method Description
      String toStringOrNull() Represent memo as String.
      MemoBytes asMemoBytes() Converts this memo to MemoBytes representation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait