Function view [src]
View of element bytes.
Prototype
pub fn view(self: Decoder, elem: Element) []const u8
Parameters
self: Decoder
elem: Element
Source
pub fn view(self: Decoder, elem: Element) []const u8 {
return elem.slice.view(self.bytes);
}