Function view [src]

View of element bytes.

Prototype

pub fn view(self: Decoder, elem: Element) []const u8

Parameters

self: Decoderelem: Element

Source

pub fn view(self: Decoder, elem: Element) []const u8 { return elem.slice.view(self.bytes); }