public class CacheUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CacheUtil.CacheType |
Constructor and Description |
---|
CacheUtil(CacheUtil.CacheType type) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
feed(byte[] bytes) |
byte[] |
getCacheData() |
int |
getLength() |
byte[] |
getOneshotCacheByte() |
byte[] |
getVadCacheByte() |
byte[] |
getVadCacheByte(int size) |
void |
setOneshotCacheTime(int time) |
void |
setVadCacheTime(int time) |
byte[] |
toArray() |
public CacheUtil(CacheUtil.CacheType type)
public byte[] getCacheData()
public byte[] toArray()
public int getLength()
public void setOneshotCacheTime(int time)
public void setVadCacheTime(int time)
public void feed(byte[] bytes)
public byte[] getOneshotCacheByte()
public void clear()
public byte[] getVadCacheByte()
public byte[] getVadCacheByte(int size)