mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
chore: add a comment
This commit is contained in:
parent
b72a949930
commit
bac8e4ff4d
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ impl SwapHeader {
|
||||||
impl SwapWriter {
|
impl SwapWriter {
|
||||||
pub fn new() -> Self { SwapWriter { buffer: Cursor::new(Vec::new()) } }
|
pub fn new() -> Self { SwapWriter { buffer: Cursor::new(Vec::new()) } }
|
||||||
|
|
||||||
|
/// Take the swap file and wrap it data structures that facilitate per-device encryption
|
||||||
|
/// after deployment to a user device.
|
||||||
pub fn encrypt_to<T>(&mut self, mut f: T) -> Result<usize>
|
pub fn encrypt_to<T>(&mut self, mut f: T) -> Result<usize>
|
||||||
where
|
where
|
||||||
T: Write + Seek,
|
T: Write + Seek,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue