Struct sgxs::sgxs::CanonicalSgxsWriter [] [src]

pub struct CanonicalSgxsWriter<'a, W: SgxsWrite + 'a> {
    // some fields omitted
}

Methods

impl<'a, W: SgxsWrite + 'a> CanonicalSgxsWriter<'a, W>
[src]

fn new(writer: &'a mut W, ecreate: MeasECreate) -> Result<Self>

fn write_page<R: Read>(&mut self, data: MeasuredData<R>, offset: Option<u64>, secinfo: SecinfoTruncated) -> Result<()>

If offset is None, just append at the current offset.

fn write_pages<R: Read>(&mut self, data: MeasuredData<R>, n: usize, offset: Option<u64>, secinfo: SecinfoTruncated) -> Result<()>

If offset is None, just append at the current offset.

fn skip_page(&mut self)

fn skip_pages(&mut self, n: usize)

fn offset(&self) -> u64