Class NTCP2Payload.I2NPBlock

java.lang.Object
net.i2p.router.transport.ntcp.NTCP2Payload.Block
net.i2p.router.transport.ntcp.NTCP2Payload.I2NPBlock
Enclosing class:
NTCP2Payload

public static class NTCP2Payload.I2NPBlock extends NTCP2Payload.Block
  • Constructor Details

  • Method Details

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

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