Платон Щукин (Редактор отдела «Экономика»)
const chunkSize = Math.min(1024, bytesAvailable);
。91视频对此有专业解读
3 transform chain
For implementers, there's no Transformer protocol with start(), transform(), flush() methods and controller coordination passed into a TransformStream class that has its own hidden state machine and buffering mechanisms. Transforms are just functions or simple objects — far simpler to implement and test.