Constructor and Description |
---|
FastEncoder(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addTemplateRegisteredListener(TemplateRegisteredListener templateRegisteredListener) |
byte[] |
encode(Message message)
WARNING: Not thread-safe.
|
void |
registerTemplate(int templateId,
MessageTemplate template) |
void |
reset() |
public FastEncoder(Context context)
public byte[] encode(Message message)
message
- public void registerTemplate(int templateId, MessageTemplate template)
public void addTemplateRegisteredListener(TemplateRegisteredListener templateRegisteredListener)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.