Work & TODO

This commit is contained in:
Alex Auvolat
2020-04-08 23:47:34 +02:00
parent cc580da0ae
commit a450103ed0
5 changed files with 78 additions and 40 deletions
+3
View File
@@ -67,6 +67,9 @@ impl FixedBytes32 {
pub fn as_slice_mut(&mut self) -> &mut [u8] {
&mut self.0[..]
}
pub fn to_vec(&self) -> Vec<u8> {
self.0.to_vec()
}
}
pub type UUID = FixedBytes32;