rfbflags

package
Version: v0.0.0-...-4a1a6b8 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package rfbflags provides constants for the RFB flag values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBigEndian

func IsBigEndian(f RFBFlag) bool

IsBigEndian returns true if the flag value != RFBFalse.

func IsTrueColor

func IsTrueColor(f RFBFlag) bool

IsTrueColor returns true if the flag value != RFBFalse.

func ToBool

func ToBool(f RFBFlag) bool

To returns true if the flag value != RFBFalse.

Types

type RFBFlag

type RFBFlag uint8

RFBFlag represents a RFB Flag value.

const (
	RFBFalse RFBFlag = iota
	RFBTrue
)

RFB flag values.

func BoolToRFBFlag

func BoolToRFBFlag(b bool) RFBFlag

func (RFBFlag) String

func (i RFBFlag) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL