serial

package
v1.12.9 Latest Latest
Warning

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

Go to latest
Published: May 13, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes interface {
	Bytes() []byte
}

type BytesLiteral

type BytesLiteral []byte

func (BytesLiteral) All

func (this BytesLiteral) All(v byte) bool

All returns true if all bytes in the ByteLiteral are the same as given value.

func (BytesLiteral) Equals

func (this BytesLiteral) Equals(another BytesLiteral) bool

func (BytesLiteral) Int64Value

func (this BytesLiteral) Int64Value() int64

func (BytesLiteral) IntValue

func (this BytesLiteral) IntValue() int

func (BytesLiteral) String

func (this BytesLiteral) String() string

String returns a string presentation of this ByteLiteral

func (BytesLiteral) Uint16

func (this BytesLiteral) Uint16() Uint16Literal

func (BytesLiteral) Uint16Value

func (this BytesLiteral) Uint16Value() uint16

func (BytesLiteral) Uint32Value

func (this BytesLiteral) Uint32Value() uint32

func (BytesLiteral) Uint8Value

func (this BytesLiteral) Uint8Value() uint8

func (BytesLiteral) Value

func (this BytesLiteral) Value() []byte

type Int

type Int interface {
	Value() int
}

type Int64Literal

type Int64Literal int64

func (Int64Literal) Bytes

func (this Int64Literal) Bytes() []byte

func (Int64Literal) String

func (this Int64Literal) String() string

func (Int64Literal) Value

func (this Int64Literal) Value() int64

type IntLiteral

type IntLiteral int

func (IntLiteral) Bytes

func (this IntLiteral) Bytes() []byte

func (IntLiteral) String

func (this IntLiteral) String() string

func (IntLiteral) Value

func (this IntLiteral) Value() int

type String

type String interface {
	String() string
}

An interface for any objects that has string presentation.

type StringLiteral

type StringLiteral string

func NewStringLiteral

func NewStringLiteral(str String) StringLiteral

func (StringLiteral) Contains

func (this StringLiteral) Contains(str String) bool

func (StringLiteral) String

func (this StringLiteral) String() string

func (StringLiteral) ToLower

func (this StringLiteral) ToLower() StringLiteral

func (StringLiteral) ToUpper

func (this StringLiteral) ToUpper() StringLiteral

func (StringLiteral) TrimSpace

func (this StringLiteral) TrimSpace() StringLiteral

type StringLiteralList

type StringLiteralList []StringLiteral

func NewStringLiteralList

func NewStringLiteralList(raw []string) *StringLiteralList

func (*StringLiteralList) Len

func (this *StringLiteralList) Len() int

type Uint16

type Uint16 interface {
	Value() uint16
}

type Uint16Literal

type Uint16Literal uint16

func (Uint16Literal) Bytes

func (this Uint16Literal) Bytes() []byte

func (Uint16Literal) String

func (this Uint16Literal) String() string

func (Uint16Literal) Value

func (this Uint16Literal) Value() uint16

Jump to

Keyboard shortcuts

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