package
module
Version:
v0.0.0-...-c835553
Opens a new window with list of versions in this module.
Published: Dec 2, 2015
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goRLE
Didactics version of Run-Length Encoding on strings in Golang
##Install
go install github.com/dlion/goRLE
##Usage
package main
import (
"fmt"
"github.com/dlion/goRLE"
)
func main() {
value := "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW""
enc := gorle.Encode(value)
fmt.Printf("%s\n%s\n", value, enc)
}
WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW
12W1B12W3B24W1B14W
Author
License
MIT
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.