basic

package
v0.0.0-...-728477c Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array[T types.Number] struct {
	client.Object
	Size uint64

	Values []T
	// contains filtered or unexported fields
}

func (*Array[T]) At

func (arr *Array[T]) At(index uint64) T

func (*Array[T]) Construct

func (arr *Array[T]) Construct(c *client.IPCClient, meta *client.ObjectMeta) (err error)

func (*Array[T]) Len

func (arr *Array[T]) Len() uint64

type ArrayBuilder

type ArrayBuilder[T types.Number] struct {
	Size uint64

	Values []T
	// contains filtered or unexported fields
}

func NewArrayBuilder

func NewArrayBuilder[T types.Number](
	c *client.IPCClient,
	size uint64,
) (arr *ArrayBuilder[T], err error)

func (*ArrayBuilder[T]) At

func (arr *ArrayBuilder[T]) At(index uint64, value T)

func (*ArrayBuilder[T]) Build

func (arr *ArrayBuilder[T]) Build(client *client.IPCClient) error

func (*ArrayBuilder[T]) Seal

func (arr *ArrayBuilder[T]) Seal(c *client.IPCClient) (types.ObjectID, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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