generate base2^n starting from any position in unicode table
// NewBase generates a new base2n config
func NewBase(off, til uint16, bit uint8) (bs Base, err error)
off
is the starting offset in unicode tabletil
is the starting offset of the tail character, which could not cross with off areabit
is the numbern
of2^n
, for example bit6
means2^6=64
, thusbase64
see more in define.go
1234567 -> 婌焳廔萷
12345678 -> 눦듌옚뽣며찈
123456 -> 㜓㘳㝃㤶
123456789 -> ᑢᓈᖙᕃᒦᖍᖜᐹ
12345678 -> ᄱᄲᄳᄴᄵᄶᄷᄸ
12345678 -> ㌱㌲㌳㌴㌵㌶㌷㌸
1234567 -> ⑸⒬⒦⒓⒁⒴Ⓦ⒗
1234567 -> घौॆळड॔६ष
123456 -> ䷌䷓䷈䷳䷍䷃䷔䷶
123456 -> ᚬᚳᚨᛓᚭᚣᚴᛖ
123456 -> ᠬᠳᠨᡓᠭᠣᠴᡖ
12345 -> ▆▄▙▃▆▍▁▕
12345 -> ཏཌྷརཌཏབཊཞ
1234 -> ㆓㆑㆓㆒㆓㆓㆓㆔
1234 -> ᨃᨁᨃᨂᨃᨃᨃᨄ
123456 -> ☱☴☲☳☱☰☶☳☱☵☰☳☲☴☶☶