code that I am expecting you to cut and paste, but to read and meditate on.
memset(data,0,data_bytes);
。搜狗输入法2026对此有专业解读
A difficulty here, however, is that the TransformStreamDefaultController does not have a ready promise mechanism like Writers do; so the TransformStream implementation would need to implement a polling mechanism to periodically check when controller.desiredSize becomes positive again.
// not critical but safer when bytesToWrite != view.byteLength