文件名称:fenc:用于通过网络发送的 EncodeDecode 文件 #golang
文件大小:3KB
文件格式:ZIP
更新时间:2024-07-06 15:51:11
Go
围栏 用法 import ( "bytes" "fmt" "github.com/djherbis/fenc" ) // Buffer as a network stand-in buf := bytes . NewBuffer ( nil ) // Stream encode your file onto your "network". // You can call this multiple times to encode multiple files in the same stream enc := fenc . NewEncoder ( buf ) if err := enc . OpenAndEncode ( "fenc.go" ); err != nil { fmt . Println ( err . Error ()) return } // en
【文件预览】:
fenc-master
----fenc_test.go(494B)
----LICENSE.txt(1KB)
----README.md(1KB)
----fenc.go(2KB)