Skip to main content

write_frame

Function write_frame 

Source
pub fn write_frame<W: Write>(
    writer: &mut W,
    frame: &[u8],
) -> Result<(), TpmDeviceError>
Expand description

Writes one complete marshaled TPM frame to a blocking stream and flushes it.

ยงErrors

Returns Io when writing or flushing fails.