package org.msgpack.core.buffer;

import java.io.Closeable;
import java.io.IOException;

/**
 * Provides a sequence of MessageBuffers that contains message packed data.
 */
public interface MessageBufferInput extends Closeable {

    /**
     * Get a next buffer to read
     * @return
     * @throws IOException
     */
    public MessageBuffer next() throws IOException;


}



@@ -263,16 +263,17 @@
  to read
+.
 %0A     * 
@@ -283,35 +283,141 @@
 turn
-%0A     * @throws IOException
+ the next MessageBuffer, or null if no more buffer is available.%0A     * @throws IOException when error occurred when reading the data
 %0A   

Add comments