aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Representation.mli
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-07-09 00:33:37 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-07-09 00:33:37 +0000
commit2566cfae03199f8e90098c84b712d48182d9b806 (patch)
tree4209d319e67f0f055e5055bc67a022bfdb3dd43f /lib/concepts/Representation.mli
parent5a799734ddd523027a7d6ef8b0acab6d0b796ec6 (diff)
downloadRNT-2566cfae03199f8e90098c84b712d48182d9b806.tar.gz
RNT-2566cfae03199f8e90098c84b712d48182d9b806.zip
Interface for the storage layer
Diffstat (limited to 'lib/concepts/Representation.mli')
-rw-r--r--lib/concepts/Representation.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/concepts/Representation.mli b/lib/concepts/Representation.mli
new file mode 100644
index 0000000..9d0a8f5
--- /dev/null
+++ b/lib/concepts/Representation.mli
@@ -0,0 +1,7 @@
+(** an abstract representation of an encoded value *)
+type blob
+
+(** encode a blob into a value *)
+val blob_of_value: Value.value -> blob
+(** decode a value from a blob *)
+val value_of_blob: blob -> Value.value