Streaming & indefinite items ============================= CBOR :doc:`strings `, :doc:`byte strings `, :doc:`arrays `, and :doc:`maps ` can be encoded as *indefinite*, meaning their length or size is not specified. Instead, they are divided into *chunks* (:doc:`strings `, :doc:`byte strings `), or explicitly terminated (:doc:`arrays `, :doc:`maps `). This is one of the most important (and due to poor implementations, underutilized) features of CBOR. It enables low-overhead streaming just about anywhere without dealing with channels or pub/sub mechanism. It is, however, important to recognize that CBOR streaming is not a substitute for Websockets [#]_ and similar technologies. .. [#] :RFC:`6455` .. toctree:: streaming/decoding streaming/encoding