public class Base64Packer extends NetStreamPacker
| Constructor and Description |
|---|
Base64Packer() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
packMessage(ByteBuffer buffer,
int startIndex,
int endIndex)
Pack the given ByteBuffer from startIndex to endIdex
|
ByteBuffer |
packMessageSize(int capacity) |
packMessagepublic ByteBuffer packMessage(ByteBuffer buffer, int startIndex, int endIndex)
NetStreamPackerpackMessage in class NetStreamPackerbuffer - The buffer to pack/encodestartIndex - the index at which the encoding starts in the bufferendIndex - the index at which the encoding stopspublic ByteBuffer packMessageSize(int capacity)
packMessageSize in class NetStreamPackerCopyright © 2015. All rights reserved.