@Override
    public long available() throws ProxyCacheException {
        return data.length;
    }
Simple memory based {@link Cache} implementation.

@author Alexey Danilov (danikula@gmail.com).
dkplayer-videocache/src/main/java/com/danikula/videocache/ByteArrayCache.java