mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
encoding/cbor: add general docs and example
This commit is contained in:
@@ -78,7 +78,7 @@ marshal_into_writer :: proc(w: io.Writer, v: any, flags := ENCODE_SMALL) -> Mars
|
||||
marshal_into_encoder :: proc(e: Encoder, v: any) -> (err: Marshal_Error) {
|
||||
e := e
|
||||
|
||||
err_conv(ENCODE_PROGRESS_GUARD(&e)) or_return
|
||||
err_conv(_ENCODE_PROGRESS_GUARD(&e)) or_return
|
||||
|
||||
if v == nil {
|
||||
return _encode_nil(e.writer)
|
||||
|
||||
Reference in New Issue
Block a user