Interface NetworkBuffer.Type<T extends @UnknownNullability Object>

Type Parameters:
T - the value type, which may be nullable
All Known Implementing Classes:
DebugSubscriptionImpl
Enclosing interface:
NetworkBuffer

public static interface NetworkBuffer.Type<T extends @UnknownNullability Object>
Reads and writes values of T in a NetworkBuffer, so that reading returns the value that was written. Unlike StructCodec, types are always written linearly into a NetworkBuffer. Prefer NetworkBufferTemplate to build types for records, which keeps both directions in sync.