Expand description
Scenes on the wire: a scene to its proto::Scene and back, and the patch
between two scenes. Each image file travels once: a scene carries every
one its nodes show, a patch only those the scene before it didn’t have.
Functions§
- apply
- Applies a patch to
scene, or says why it can’t — leaving the scene as it was. - decode
- A node from the wire, or why it isn’t one.
- decode_
scene - The scene a stream message carries; image files in
heldaren’t decoded again. - diff
- The replacements that turn
oldintonew: the highest nodes whose own attributes or number of children changed, by id. - encode
- patch
- The patch that turns
old, as last sent, intonew: the nodes that changed and the image filesolddidn’t have. - scene
- A whole scene for the wire: its tree and every image file it shows.