public class BinaryMetadataEncoder extends Object
| Constructor and Description |
|---|
BinaryMetadataEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap<Integer,ContentBuffer> |
decodeBinaryMetadata(byte[] encoded,
int client_offset,
int client_length) |
ByteBuffer |
encodeBinaryMetadata(int type,
ContentBuffer cb) |
static int |
getBinaryMetaEncodedLength(Collection<ContentBuffer> buffers) |
static int |
getBinaryMetaEncodedLength(ContentBuffer cb) |
public ByteBuffer encodeBinaryMetadata(int type, ContentBuffer cb)
public static HashMap<Integer,ContentBuffer> decodeBinaryMetadata(byte[] encoded, int client_offset, int client_length) throws InvalidMessageReceivedException
InvalidMessageReceivedExceptionpublic static int getBinaryMetaEncodedLength(ContentBuffer cb)
public static int getBinaryMetaEncodedLength(Collection<ContentBuffer> buffers)
Copyright 2004-2019 Solace Corporation. All rights reserved.