public class ProtoMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
basicProtoPackage |
| Constructor and Description |
|---|
ProtoMapper() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
decodeProto(byte[] bytes,
Class<T> msgInClass) |
byte[] |
encodeProto(org.webswing.model.MsgOut msg) |
public static final String basicProtoPackage
public byte[] encodeProto(org.webswing.model.MsgOut msg)
throws IOException
IOExceptionpublic <T> T decodeProto(byte[] bytes,
Class<T> msgInClass)
throws IOException
IOExceptionCopyright © 2018. All rights reserved.