package custom
import "github.com/gogo/protobuf/test/custom-dash-type"
Package custom contains custom types for test and example purposes. These types are used by the test structures generated by gogoprotobuf.
Index ¶
- type Bytes
- func NewPopulatedBytes(r randy) *Bytes
- func (this Bytes) Compare(that Bytes) int
- func (this Bytes) Equal(that Bytes) bool
- func (b Bytes) Marshal() ([]byte, error)
- func (b Bytes) MarshalJSON() ([]byte, error)
- func (b Bytes) MarshalTo(data []byte) (n int, err error)
- func (b *Bytes) Size() int
- func (b *Bytes) Unmarshal(data []byte) error
- func (b *Bytes) UnmarshalJSON(data []byte) error
Types ¶
type Bytes ¶
type Bytes []byte
func NewPopulatedBytes ¶
func NewPopulatedBytes(r randy) *Bytes
func (Bytes) Compare ¶
func (Bytes) Equal ¶
func (Bytes) Marshal ¶
func (Bytes) MarshalJSON ¶
func (Bytes) MarshalTo ¶
func (*Bytes) Size ¶
func (*Bytes) Unmarshal ¶
func (*Bytes) UnmarshalJSON ¶
Source Files ¶
- Version
- v1.3.1
- Published
- Oct 14, 2019
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 days ago –
Tools for package owners.