aboutsummaryrefslogtreecommitdiff
path: root/src/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.rs')
-rw-r--r--src/data.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/data.rs b/src/data.rs
index bbe9aa1d..f01d5394 100644
--- a/src/data.rs
+++ b/src/data.rs
@@ -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;