exoline

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 7 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 FloatTobytes added in v2.4.0

func FloatTobytes(float float64) []byte

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).

func SRP added in v2.4.0

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

SRP Set real segment var.

func SXP added in v2.3.0

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

SXP send index segment.

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