b154

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 1 Imported by: 0

README

base114514

介绍

114514恶臭编码

输入:你好
一次编码:1145145414411154545454144144415444
解码:你好

下载

使用包

go get github.com/levinion/b154/coding

使用命令行程序对文件编解码

go install github.com/levinion/b154@latest

用法

包的使用

func EncodeToString[T []rune | string | []byte](str T) (r string)
func EncodeToBytes[T []rune | string | []byte](str T) (r []byte)
func DecodeToString[T string | []byte | []rune](str T) (r string)
func DecodeToString[T string | []byte | []rune](str T) (r []byte)

命令行程序使用

# 基本使用
b154 encode filename/dirname
b154 decode filename/dirname

# 指定编解码次数
b154 encode filename -n 6   # 进行6次编码

# 在标准输出显示解码后结果
b154 decode filename -s

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL