Help us shape the future of Go! Take the 2026 Go Developer Survey

foo

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const XGoPackage = true

Variables

This section is empty.

Functions

This section is empty.

Types

type CnCbor

type CnCbor struct {
	Type       CnCborType
	Flags      CnCborFlags
	V          _llcppg_anon_0
	Length     c.Int
	FirstChild *CnCbor
	LastChild  *CnCbor
	Next       *CnCbor
	Parent     *CnCbor
}

type CnCborFlags

type CnCborFlags c.Uint
const (
	CN_CBOR_FL_COUNT CnCborFlags = 1
	CN_CBOR_FL_INDEF CnCborFlags = 2
	CN_CBOR_FL_OWNER CnCborFlags = 128
)

type CnCborType

type CnCborType c.Uint
const (
	CN_CBOR_FALSE         CnCborType = 0
	CN_CBOR_TRUE          CnCborType = 1
	CN_CBOR_NULL          CnCborType = 2
	CN_CBOR_UNDEF         CnCborType = 3
	CN_CBOR_UINT          CnCborType = 4
	CN_CBOR_INT           CnCborType = 5
	CN_CBOR_BYTES         CnCborType = 6
	CN_CBOR_TEXT          CnCborType = 7
	CN_CBOR_BYTES_CHUNKED CnCborType = 8
	CN_CBOR_TEXT_CHUNKED  CnCborType = 9
	CN_CBOR_ARRAY         CnCborType = 10
	CN_CBOR_MAP           CnCborType = 11
	CN_CBOR_TAG           CnCborType = 12
	CN_CBOR_SIMPLE        CnCborType = 13
	CN_CBOR_DOUBLE        CnCborType = 14
	CN_CBOR_FLOAT         CnCborType = 15
	CN_CBOR_INVALID       CnCborType = 16
)

type Uint8T

type Uint8T = uint8

Reduced from jimsch/cn-cbor 1.0.0, include/cn-cbor/cn-cbor.h. Preserve all members of the anonymous union and the recursive record fields.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL