package hep.io.root.interfaces;

import java.io.IOException;


/**
 * @author Tony Johnson (tonyj@slac.stanford.edu)
 * @version $Id: TBasket.java,v 1.4 2004/06/28 15:21:23 tonyj Exp $
 */
public interface TBasket extends hep.io.root.RootObject, TKey
{
   int getBufferSize();

   int[] getDisplacement();

   int[] getEntryOffset();

   byte getFlag();

   int getLast();

   int getNevBuf();

   int getNevBufSize();

   //Extra methods
   hep.io.root.core.RootInput setPosition(int index, int basketEntry, TLeaf leaf) throws IOException;

   void readEntryOffsets(int len) throws IOException;
}
