From 1e506c80a90e0776014dd23ccb28abdb24a1302a Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Wed, 19 Aug 2020 13:58:04 +0300 Subject: [PATCH] Remove some unused code --- snappy.nim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/snappy.nim b/snappy.nim index 9f5df22..21061ca 100644 --- a/snappy.nim +++ b/snappy.nim @@ -467,8 +467,3 @@ proc snappyUncompress*(src: openArray[byte], dst: var openArray[byte]): uint32 = return uncompressedLen -template compress*(src: openArray[byte]): seq[byte] = - snappy.encode(src) - -template uncompress*(src: openArray[byte]): seq[byte] = - snappy.decode(src)