Class RatchetPayload.AckBlock

    • Constructor Detail

      • AckBlock

        public AckBlock​(int keyID,
                        int n)
      • AckBlock

        public AckBlock​(List<Integer> acks)
        Parameters:
        acks - each is id << 16 | n
    • Method Detail

      • getDataLength

        public int getDataLength()
        Specified by:
        getDataLength in class RatchetPayload.Block
        Returns:
        the size of the block, NOT including the 3 byte header (type and size)