public void encodeParity(byte[][] shards,int offset,int byteCount){
  checkBuffersAndSizes(shards,offset,byteCount);
  byte[][] outputs=new byte[parityShardCount][];
  System.arraycopy(shards,dataShardCount,outputs,0,parityShardCount);
  codingLoop.codeSomeShards(parityRows,shards,dataShardCount,outputs,parityShardCount,offset,byteCount);
}

public void encodeParity ( byte [ ] [ ] shards , int offset , int byteCount ) { checkBuffersAndSizes ( shards , offset , byteCount ) ; byte [ ] [ ] outputs = new byte [ parityShardCount ] [ ] ; System . arraycopy ( shards , dataShardCount , outputs , 0 , parityShardCount ) ; codingLoop . codeSomeShards ( parityRows , shards , dataShardCount , outputs , parityShardCount , offset , byteCount ) ; }
encodes parity for a set of data shards .
