507508509510511512513514515516517
} buf.setData(blockData); buf.setOffset(0); buf.setLength(blockSize); cm.compress(buf, block); out.writeInt(y0); if (buf.getLength() < blockSize) { out.writeInt(buf.getLength()); out.write(buf.getData(), buf.getOffset(), buf.getLength());