diff options
Diffstat (limited to 'lib/pure/base64.nim')
-rw-r--r-- | lib/pure/base64.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pure/base64.nim b/lib/pure/base64.nim index ee5388a24..a8c490d4d 100644 --- a/lib/pure/base64.nim +++ b/lib/pure/base64.nim @@ -9,6 +9,8 @@ ## This module implements a base64 encoder and decoder. ## +## Unstable API. +## ## Base64 is an encoding and decoding technique used to convert binary ## data to an ASCII string format. ## Each Base64 digit represents exactly 6 bits of data. Three 8-bit @@ -110,7 +112,7 @@ template encodeInternal(s: typed, lineLen: int, newLine: string): untyped = #assert(r == result.len) discard -proc encode*[T:SomeInteger|char](s: openArray[T], lineLen = 75, newLine=""): string = +proc encode*[T: SomeInteger|char](s: openArray[T], lineLen = 75, newLine=""): string = ## Encodes ``s`` into base64 representation. After ``lineLen`` characters, a ## ``newline`` is added. ## |