We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
content
BytesText
1 parent a1935de commit 15be5c4Copy full SHA for 15be5c4
src/events/mod.rs
@@ -670,7 +670,9 @@ impl<'a> Deref for BytesEnd<'a> {
670
/// in escaped form. Internally data is stored in escaped form
671
#[derive(Clone, Eq, PartialEq)]
672
pub struct BytesText<'a> {
673
- // Invariant: The content is always escaped.
+ /// Escaped then encoded content of the event. Content is encoded in the XML
674
+ /// document encoding when event comes from the reader and should be in the
675
+ /// document encoding when event passed to the writer
676
content: Cow<'a, [u8]>,
677
}
678
0 commit comments