tl

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 6 Imported by: 1

README

Serialization and deserialization of data described by TL schemas.

This library implements Marshaling and Unmarshaling for TL data.

TL description:

Usage

Example

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeLength

func EncodeLength(i int) []byte

func Marshal

func Marshal(o any) ([]byte, error)

func Unmarshal

func Unmarshal(r io.Reader, o any) error

Types

type MarshalerTL

type MarshalerTL interface {
	MarshalTL() ([]byte, error)
}

type SumType

type SumType string

type UnmarshalerTL

type UnmarshalerTL interface {
	UnmarshalTL(r io.Reader) error
}

Jump to

Keyboard shortcuts

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