yaproto

package module
v0.0.0-...-0dd21e6 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 1 Imported by: 0

README

yaproto

yet another protobuf for go language

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutBool

func PutBool(buf []byte, i *int, b bool)

func PutVarint

func PutVarint(buf []byte, i *int, u uint64)

PutVarint serializes a varint-encoded uint64 into buf

func VarintSize

func VarintSize(x uint64) int

VarintSize returns the encoded size of an encoded varint.

func ZigZagSize

func ZigZagSize(x uint64) int

ZigZagSize returns the encoded size of an encoded zig-zag value.

Types

This section is empty.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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