Skip to main content

codec_surface

Function codec_surface 

Source
pub fn codec_surface(content: &CodecContent) -> Result<GeneratedTree, Overflow>
Expand description

The whole surface: the refusal the decode road answers with, the conversion a checked assembly earns, the roads the direction covers, and the placement carrying them.

The refusal and the conversion are rendered only where the direction covers the decode road, so an encode-only surface declares nothing that cannot happen — and carries no reader, which is what an encode-only direction means.

§Errors

Returns Overflow where a level of the surface passes the declared per-level token magnitude.