package optional

import "github.com/UristLikot/libsignal/util/optional"

Index

Types

type Uint32

type Uint32 struct {
	Value   uint32
	IsEmpty bool
}

Uint32 is a simple structure for Uint32 values that can optionally be nil.

func NewEmptyUint32

func NewEmptyUint32() *Uint32

func NewOptionalUint32

func NewOptionalUint32(value uint32) *Uint32

NewOptionalUint32 returns an optional Uint32 structure.

Source Files

Integer.go

Version
v1.0.3 (latest)
Published
Feb 15, 2024
Platform
linux/amd64
Last checked
1 day ago

Tools for package owners.