From 94b62ac5abb627be5c7e8fd1b253ecf8db761464 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Thu, 23 May 2019 10:27:02 -0500 Subject: [PATCH] Merge: down later --- colddb.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/colddb.lua b/colddb.lua index f3f198d..7aaba5a 100644 --- a/colddb.lua +++ b/colddb.lua @@ -79,6 +79,11 @@ function colddb.Colddb(dir) self.get_serializer = function() return serializer, deserializer end + + self.set_serializer = function(coder, decoder) + serializer = coder + deserializer = decoder + end local function file_exists(name) local f = io.open(string.format("%s/%s.cold", directory, name), "r")