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)