Interface WebSocketSafeTypeEncoder.TypeToByteBufferEncoder<T>
- Type Parameters:
T- The type of the object to encode.
- All Superinterfaces:
Codec<ByteBuffer,,T> Encoder<ByteBuffer,,T> WebSocketSafeTypeEncoder<ByteBuffer,T>
- Enclosing interface:
- WebSocketSafeTypeEncoder<R,
T>
@Experimental
public static non-sealed interface WebSocketSafeTypeEncoder.TypeToByteBufferEncoder<T>
extends WebSocketSafeTypeEncoder<ByteBuffer,T>
An encoder that transforms a specific input type into a
ByteBuffer representation.- Since:
- 3.5.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.craftsblock.craftsnet.api.websocket.codec.WebSocketSafeTypeEncoder
WebSocketSafeTypeEncoder.TypeToByteArrayEncoder<T>, WebSocketSafeTypeEncoder.TypeToByteBufferEncoder<T>, WebSocketSafeTypeEncoder.TypeToJsonEncoder<T>, WebSocketSafeTypeEncoder.TypeToStringEncoder<T> -
Method Summary