shorthanzi

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-2-Clause Imports: 1 Imported by: 0

README

shorthanzi

A library to compress strings contain mostly hanzi characters

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressText

func CompressText(data string) ([]byte, bool)

func DecodeHanzi

func DecodeHanzi(in []byte) (string, bool)

func DecompressText

func DecompressText(buf []byte) (string, bool)

func EncodeHanzi

func EncodeHanzi(in string) ([]byte, bool)

func Transform

func Transform(in string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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