-
Notifications
You must be signed in to change notification settings - Fork 0
CBOR I/O for GOPL
License
syntelos/go-cbor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CBOR I/O for GOPL /* * Encoded data set content object. */ type Object []byte /* * Binary code user interface. */ type IO interface { Write(io.Writer) (error) Read(io.Reader) (error) } hello, world. package main import ( "fmt" "github.com/syntelos/go-cbor" ) func main(){ var object cbor.Object = cbor.Object{ 0x6D,0x68,0x65,0x6C,0x6C,0x6F,0x2C, 0x20,0x77,0x6f,0x72,0x6C,0x64,0x2E } fmt.Println(object.Text()) } References [CBOR] https://tools.ietf.org/html/rfc8949 [GOPL] https://go.dev/
About
CBOR I/O for GOPL
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published