Class NTCP2Payload.PaddingBlock

    • Constructor Detail

      • PaddingBlock

        public PaddingBlock​(int size)
        with zero-filled data
      • PaddingBlock

        public PaddingBlock​(I2PAppContext context,
                            int size)
        with random data
    • Method Detail

      • getDataLength

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