class ByteArrayDataInput extends InputStream implements DataInput, VersionedDataStream {

  @Override
  public void readFully(byte[] b) throws IOException {
    readFully(b, 0, b.length);
  }

  public  ByteArrayDataInput();
  public  ByteArrayDataInput(byte[] bytes);
  public  ByteArrayDataInput(byte[] bytes, KnownVersion version);

}