Class Composer


  • public class Composer
    extends java.lang.Object
    Type to assist in build LMS messages.
    • Method Detail

      • compose

        public static Composer compose()
      • u64str

        public Composer u64str​(long n)
      • u32str

        public Composer u32str​(int n)
      • u16str

        public Composer u16str​(int n)
      • pad

        public Composer pad​(int v,
                            int len)
      • bytes

        public Composer bytes​(byte[][] arrays)
      • bytes

        public Composer bytes​(byte[][] arrays,
                              int start,
                              int end)
      • bytes

        public Composer bytes​(byte[] array)
      • bytes

        public Composer bytes​(byte[] array,
                              int start,
                              int len)
      • build

        public byte[] build()
      • padUntil

        public Composer padUntil​(int v,
                                 int requiredLen)
      • bool

        public Composer bool​(boolean v)