Class RatchetPayload.AckRequestBlock

java.lang.Object
net.i2p.router.crypto.ratchet.RatchetPayload.Block
net.i2p.router.crypto.ratchet.RatchetPayload.AckRequestBlock
Enclosing class:
RatchetPayload

public static class RatchetPayload.AckRequestBlock extends RatchetPayload.Block
Since:
0.9.46
  • Constructor Details

    • AckRequestBlock

      public AckRequestBlock()
  • Method Details

    • 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)
    • writeData

      public int writeData(byte[] tgt, int off)
      Specified by:
      writeData in class RatchetPayload.Block
      Returns:
      new offset