public boolean isParityCorrect(byte[][] shards,int firstByte,int byteCount){
  checkBuffersAndSizes(shards,firstByte,byteCount);
  byte[][] toCheck=new byte[parityShardCount][];
  System.arraycopy(shards,dataShardCount,toCheck,0,parityShardCount);
  return codingLoop.checkSomeShards(parityRows,shards,dataShardCount,toCheck,parityShardCount,firstByte,byteCount,null);
}

public boolean isParityCorrect ( byte [ ] [ ] shards , int firstByte , int byteCount ) { checkBuffersAndSizes ( shards , firstByte , byteCount ) ; byte [ ] [ ] toCheck = new byte [ parityShardCount ] [ ] ; System . arraycopy ( shards , dataShardCount , toCheck , 0 , parityShardCount ) ; return codingLoop . checkSomeShards ( parityRows , shards , dataShardCount , toCheck , parityShardCount , firstByte , byteCount , null ) ; }
returns true if the parity shards contain the right data .
