custom

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package custom contains custom types for test and example purposes. These types are used by the test structures generated by gogoprotobuf.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes []byte

func NewPopulatedBytes

func NewPopulatedBytes(r randy) *Bytes

func (Bytes) Compare

func (this Bytes) Compare(that Bytes) int

func (Bytes) Equal

func (this Bytes) Equal(that Bytes) bool

func (Bytes) Marshal

func (b Bytes) Marshal() ([]byte, error)

func (Bytes) MarshalJSON

func (b Bytes) MarshalJSON() ([]byte, error)

func (Bytes) MarshalTo

func (b Bytes) MarshalTo(data []byte) (n int, err error)

func (*Bytes) Size

func (b *Bytes) Size() int

func (*Bytes) Unmarshal

func (b *Bytes) Unmarshal(data []byte) error

func (*Bytes) UnmarshalJSON

func (b *Bytes) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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