Package 

Class ByteArrayCache

  • All Implemented Interfaces:
    com.danikula.videocache.Cache

    
    public class ByteArrayCache
     implements Cache
                        

    Simple memory based Cache implementation.

    • Method Summary

      Modifier and Type Method Description
      int read(Array<byte> buffer, long offset, int length)
      long available()
      void append(Array<byte> newData, int length)
      void close()
      void complete()
      boolean isCompleted()
      • Methods inherited from class com.danikula.videocache.Cache

        append
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteArrayCache

        ByteArrayCache()
      • ByteArrayCache

        ByteArrayCache(Array<byte> data)