serial

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 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 added in v1.1.4

type Bytes interface {
	Bytes() []byte
}

type BytesLiteral added in v1.1.4

type BytesLiteral []byte

func (BytesLiteral) All added in v1.9.1

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 added in v1.9.1

func (this BytesLiteral) Equals(another BytesLiteral) bool

func (BytesLiteral) Int64Value added in v1.1.4

func (this BytesLiteral) Int64Value() int64

func (BytesLiteral) IntValue added in v1.9.1

func (this BytesLiteral) IntValue() int

func (BytesLiteral) String added in v1.9.1

func (this BytesLiteral) String() string

String returns a string presentation of this ByteLiteral

func (BytesLiteral) Uint16 added in v1.9.1

func (this BytesLiteral) Uint16() Uint16Literal

func (BytesLiteral) Uint16Value added in v1.9.1

func (this BytesLiteral) Uint16Value() uint16

func (BytesLiteral) Uint32Value added in v1.9.1

func (this BytesLiteral) Uint32Value() uint32

func (BytesLiteral) Uint8Value added in v1.9.1

func (this BytesLiteral) Uint8Value() uint8

func (BytesLiteral) Value added in v1.1.4

func (this BytesLiteral) Value() []byte

type Int

type Int interface {
	Value() int
}

type Int64Literal added in v1.1.4

type Int64Literal int64

func (Int64Literal) Bytes added in v1.1.4

func (this Int64Literal) Bytes() []byte

func (Int64Literal) String added in v1.1.4

func (this Int64Literal) String() string

func (Int64Literal) Value added in v1.1.4

func (this Int64Literal) Value() int64

type IntLiteral

type IntLiteral int

func (IntLiteral) Bytes added in v1.9.1

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 added in v1.9.1

func NewStringLiteral(str String) StringLiteral

func (StringLiteral) Contains added in v1.9.1

func (this StringLiteral) Contains(str String) bool

func (StringLiteral) String

func (this StringLiteral) String() string

func (StringLiteral) ToLower added in v1.9.1

func (this StringLiteral) ToLower() StringLiteral

func (StringLiteral) ToUpper added in v1.9.1

func (this StringLiteral) ToUpper() StringLiteral

func (StringLiteral) TrimSpace added in v1.9.1

func (this StringLiteral) TrimSpace() StringLiteral

type StringLiteralList added in v1.9.1

type StringLiteralList []StringLiteral

func NewStringLiteralList added in v1.9.1

func NewStringLiteralList(raw []string) *StringLiteralList

func (*StringLiteralList) Len added in v1.9.1

func (this *StringLiteralList) Len() int

type Uint16

type Uint16 interface {
	Value() uint16
}

type Uint16Literal

type Uint16Literal uint16

func (Uint16Literal) Bytes added in v1.9.1

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