interleaveWithECBytes

fun interleaveWithECBytes(bits: BitArray, numTotalBytes: Int, numDataBytes: Int, numRSBlocks: Int): BitArray

Interleave "bits" with corresponding error correction bytes. On success, store the result in "result". The interleave rule is complicated. See 8.6 of JISX0510:2004 (p.37) for details.