summaryrefslogtreecommitdiffstats
path: root/lib/b64.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/b64.go')
-rw-r--r--lib/b64.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/b64.go b/lib/b64.go
index f566b14..f8a8de8 100644
--- a/lib/b64.go
+++ b/lib/b64.go
@@ -64,18 +64,3 @@ func index(c byte) uint32 {
}
return uint32(0)
}
-
-// Strip space and newline characters from string.
-func stripSpaceChars(s string) string {
- ss := ""
- for i := 0; i < len(s); i++ {
- if s[i] == ' ' {
- continue
- }
- if s[i] == '\n' {
- continue
- }
- ss += string(s[i])
- }
- return ss
-}