Interface WebSocketSafeTypeEncoder.TypeToByteArrayEncoder<T>
- Type Parameters:
T- The type of the object to encode.
- All Superinterfaces:
Codec<byte[],,T> Encoder<byte[],,T> WebSocketSafeTypeEncoder<byte[],T>
- Enclosing interface:
- WebSocketSafeTypeEncoder<R,
T>
@Experimental
public static non-sealed interface WebSocketSafeTypeEncoder.TypeToByteArrayEncoder<T>
extends WebSocketSafeTypeEncoder<byte[],T>
An encoder that transforms a specific input type into a
byte[] representation
suitable for binary WebSocket frames.- 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