Encoder, Encoder.Binary<byte[]>public class ByteArrayEncoder extends java.lang.Object implements Encoder.Binary<byte[]>
Encoder.Binary<T extends java.lang.Object>, Encoder.BinaryStream<T extends java.lang.Object>, Encoder.Text<T extends java.lang.Object>, Encoder.TextStream<T extends java.lang.Object>| Constructor | Description |
|---|---|
ByteArrayEncoder() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
|
java.nio.ByteBuffer |
encode(byte[] object) |
|
void |
init(EndpointConfig config) |
public java.nio.ByteBuffer encode(byte[] object)
throws EncodeException
encode in interface Encoder.Binary<byte[]>EncodeExceptionpublic void init(EndpointConfig config)
Copyright © 1995–2018 Webtide. All rights reserved.