public interface BufferFilter
Modifier and Type | Method and Description |
---|---|
long |
decode(byte[] buffer,
long size,
long maxSize)
Decodes a buffer
|
long |
encode(byte[] buffer,
long size,
long maxSize)
Encodes a buffer
|
long encode(byte[] buffer, long size, long maxSize)
buffer
- a map of all variable names to valuessize
- the initial size of the buffermaxSize
- the maximum size of the bufferlong decode(byte[] buffer, long size, long maxSize)
buffer
- a map of all variable names to valuessize
- the initial size of the buffermaxSize
- the maximum size of the buffer