Remove SomeInteger overload

This commit is contained in:
AmjadHD
2022-10-02 13:28:49 +01:00
parent ff03ecbb25
commit 79a2963a21

View File

@@ -143,7 +143,7 @@ template encodeImpl() {.dirty.} =
let lookupTable = if safe: unsafeAddr(cb64safe) else: unsafeAddr(cb64)
encodeInternal(s, lookupTable)
proc encode*[T: SomeInteger|char](s: openArray[T], safe = false): string =
proc encode*[T: byte|char](s: openArray[T], safe = false): string =
## Encodes `s` into base64 representation.
##
## If `safe` is `true` then it will encode using the