Package 

Class BufferedReplayInputStream

  • All Implemented Interfaces:
    java.io.Closeable , java.lang.AutoCloseable

    
    public final class BufferedReplayInputStream
    extends ReplayInputStream
                        

    A super naive implementation of a replay input stream: if we call the seek method even once, then we will stop reading the original stream, and only use the in memory data.

    Check https://netty.io/4.0/api/io/netty/buffer/Unpooled.html#buffer-int-