java.lang.Object
net.i2p.router.transport.ntcp.NTCPConnection.PrepBuffer
Enclosing class:
NTCPConnection

static class NTCPConnection.PrepBufferextends Object
Buffer for preparing data to be written to the connection. Contains unencrypted data that will be encrypted before transmission.
  • Field Details

    • unencrypted

      final byte[] unencrypted
      Unencrypted data buffer.
  • Constructor Details

    • PrepBuffer

      public PrepBuffer()
      Allocate a buffer large enough for one maximum-sized frame.
  • Method Details

    • init

      public void init()
      Initialize (no-op).