Class SSU2Payload.PathChallengeBlock

java.lang.Object
net.i2p.router.transport.udp.SSU2Payload.Block
net.i2p.router.transport.udp.SSU2Payload.PathChallengeBlock
Enclosing class:
SSU2Payload

public static class SSU2Payload.PathChallengeBlock extends SSU2Payload.Block
Since:
0.9.55
  • Constructor Details

    • PathChallengeBlock

      public PathChallengeBlock(byte[] data)
  • Method Details

    • getDataLength

      public int getDataLength()
      Specified by:
      getDataLength in class SSU2Payload.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 SSU2Payload.Block
      Returns:
      new offset