// Subtract 1 from length as the block is allocated with 1 extra byte, // but the byte stream split encoder needs to know the correct data size.