libsignalgo.mau.fi/libsignal/util/optional Index | Files

package optional

import "go.mau.fi/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
v0.1.2 (latest)
Published
Feb 12, 2025
Platform
linux/amd64
Last checked
6 days ago

Tools for package owners.