exoline

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsRoundedFloat

func AsRoundedFloat(data []byte) (float64, error)

func PrintHex

func PrintHex(data []byte) string

func RLP

func RLP(buf *bufio.Reader, w io.Writer, ln, cell int) (bool, error)

RLP reads logic segment var. (not working??? TODO).

func RRP

func RRP(buf *bufio.Reader, w io.Writer, ln, cell int) (float64, error)

RRP reads real segment var. (verified working).

func RXP

func RXP(buf *bufio.Reader, w io.Writer, ln, cell int) (int, error)

RXP reads index segment var. (verified working).

Types

type Message

type Message []byte

func Send

func Send(buf *bufio.Reader, w io.Writer, data []byte) (Message, error)

func (Message) Payload

func (m Message) Payload() []byte

Jump to

Keyboard shortcuts

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