base256 :cyclone: Base256是二进制到表情符号的编码方案实现。 安装 $ go get ekyu.moe/base256 例 package main import ( "fmt" "ekyu.moe/base256" ) func main () { fmt . Println ( base256 . EncodeToString ([] byte ( "Hello, 世界" ))) //=> :alien_monster::shaved_ice::person_gesturing_OK::candy::person_bowing::seedling::relieved_face::suspension_railway::sweat_droplets::hospital::horse_face::post_office::backhand_index_pointing_left: fmt . Println ( string ( base256 . DecodeString ( ":alien_monster::shaved
2021-09-10 16:50:17 13KB emoji encoding decoding binary-to-text
1