etf

package module
v0.0.0-...-f61fa5b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

etf_go

Documentation

Index

Constants

View Source
const (
	ETFVersion        byte = 131
	ETF_ATOM          byte = 119
	ETF_SMALL_INTEGER byte = 97
	ETF_INTEGER       byte = 98
	ETF_FLOAT         byte = 70
	ETF_SMALL_TUPLE   byte = 104
	ETF_LARGE_TUPLE   byte = 105
	ETF_NIL           byte = 106
	ETF_LIST          byte = 108
	ETF_BINARY        byte = 109
)

Constants for ETF version and term types

Variables

This section is empty.

Functions

func EncodeErlTerm

func EncodeErlTerm(term ErlTerm, writeHeader bool) ([]byte, error)

Types

type Atom

type Atom string

type Binary

type Binary []byte

type ErlTerm

type ErlTerm any

func DecodeErlTerm

func DecodeErlTerm(data []byte) (ErlTerm, error)

DecodeErlTerm is the main entry point for decoding any ETF-encoded data.

type Float

type Float float64

type Integer

type Integer int16

type List

type List []ErlTerm

type Nil

type Nil struct{}

type Tuple

type Tuple []ErlTerm

Directories

Path Synopsis
cmd
test_tool command

Jump to

Keyboard shortcuts

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