@Override
    public int read(byte[] buffer) throws ProxyCacheException {
        return arrayInputStream.read(buffer, 0, buffer.length);
    }
Simple memory based {@link Source} implementation.
VideoCache/src/main/java/com/yc/videocache/ByteArraySource.java