| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final int | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public void | encode(ByteBuffer dest)
Implements abstract jdk. Encode this QUIC Frame into given ByteBuffer |
| public int | |
| public long | |
| public ByteBuffer | |
| public int | size()
Implements abstract jdk. Returns the minimum number of bytes needed to encode this frame. |
| public CryptoFrame | Returns: a slice of the current crypto framethe new offset offset, int the new length length)Creates a new CryptoFrame which is a slice of this crypto frame. |
| public String | toString()
Overrides jdk. Returns a string representation of the object. |
| cryptoData | back to summary |
|---|---|
| private final ByteBuffer cryptoData | |
| length | back to summary |
|---|---|
| private final int length | |
| offset | back to summary |
|---|---|
| private final long offset | |
| CryptoFrame | back to summary |
|---|---|
| pack-priv CryptoFrame(ByteBuffer buffer, int type) throws QuicTransportException | |
| CryptoFrame | back to summary |
|---|---|
| public CryptoFrame(long offset, int length, ByteBuffer cryptoData) Creates CryptoFrame | |
| CryptoFrame | back to summary |
|---|---|
| private CryptoFrame(long offset, int length, ByteBuffer cryptoData, boolean slice) | |
| compareOffsets | back to summary |
|---|---|
| public static int compareOffsets(CryptoFrame cf1, CryptoFrame cf2) | |
| encode | back to summary |
|---|---|
| public void encode(ByteBuffer dest) Implements abstract jdk. Doc from jdk. Encode this QUIC Frame into given ByteBuffer
| |
| length | back to summary |
|---|---|
| public int length() | |
| offset | back to summary |
|---|---|
| public long offset() Returns the frame offset.
| |
| payload | back to summary |
|---|---|
| public ByteBuffer payload() Returns the frame payload.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract jdk. Doc from jdk. Returns the minimum number of bytes needed to encode this frame.
| |
| slice | back to summary |
|---|---|
| public CryptoFrame slice(long offset, int length) Creates a new CryptoFrame which is a slice of this crypto frame.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |