Documentation ¶
Index ¶
- Constants
- Variables
- func StoreBytes(bytes *bytes.Buffer, data []byte)
- type CoRREEncoding
- type CopyRectEncoding
- type EncCursorPseudo
- type EncLedStatePseudo
- type HextileEncoding
- type PseudoEncoding
- type RREEncoding
- type RawEncoding
- type TightEncoding
- type TightPngEncoding
- type ZLibEncoding
- type ZRLEEncoding
Constants ¶
View Source
const ( HextileRaw = 1 HextileBackgroundSpecified = 2 HextileForegroundSpecified = 4 HextileAnySubrects = 8 HextileSubrectsColoured = 16 )
View Source
const ( TightExplicitFilter = 0x04 TightFill = 0x08 TightJpeg = 0x09 TightPNG = 0x10 TightFilterCopy = 0x00 TightFilterPalette = 0x01 TightFilterGradient = 0x02 )
Variables ¶
View Source
var TightMinToCompress int = 12
Functions ¶
func StoreBytes ¶
Types ¶
type CoRREEncoding ¶
type CoRREEncoding struct {
// contains filtered or unexported fields
}
func (*CoRREEncoding) Read ¶
func (z *CoRREEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*CoRREEncoding) Type ¶
func (z *CoRREEncoding) Type() int32
type CopyRectEncoding ¶
type CopyRectEncoding struct {
// contains filtered or unexported fields
}
func (*CopyRectEncoding) Read ¶
func (z *CopyRectEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*CopyRectEncoding) Type ¶
func (z *CopyRectEncoding) Type() int32
type EncCursorPseudo ¶
type EncCursorPseudo struct { }
func (*EncCursorPseudo) Read ¶
func (pe *EncCursorPseudo) Read(pf *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*EncCursorPseudo) Type ¶
func (pe *EncCursorPseudo) Type() int32
type EncLedStatePseudo ¶
type EncLedStatePseudo struct {
LedState uint8
}
func (*EncLedStatePseudo) Read ¶
func (pe *EncLedStatePseudo) Read(pf *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*EncLedStatePseudo) Type ¶
func (pe *EncLedStatePseudo) Type() int32
type HextileEncoding ¶
type HextileEncoding struct {
// contains filtered or unexported fields
}
func (*HextileEncoding) Read ¶
func (z *HextileEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*HextileEncoding) Type ¶
func (z *HextileEncoding) Type() int32
type PseudoEncoding ¶
type PseudoEncoding struct {
Typ int32
}
func (*PseudoEncoding) Read ¶
func (pe *PseudoEncoding) Read(*common.PixelFormat, *common.Rectangle, *common.RfbReadHelper) (common.IEncoding, error)
func (*PseudoEncoding) Type ¶
func (pe *PseudoEncoding) Type() int32
type RREEncoding ¶
type RREEncoding struct {
// contains filtered or unexported fields
}
func (*RREEncoding) Read ¶
func (z *RREEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*RREEncoding) Type ¶
func (z *RREEncoding) Type() int32
type RawEncoding ¶
type RawEncoding struct {
// contains filtered or unexported fields
}
RawEncoding is raw pixel data sent by the server.
func (*RawEncoding) Read ¶
func (*RawEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*RawEncoding) Type ¶
func (*RawEncoding) Type() int32
type TightEncoding ¶
type TightEncoding struct {
// contains filtered or unexported fields
}
func (*TightEncoding) Read ¶
func (t *TightEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*TightEncoding) Type ¶
func (*TightEncoding) Type() int32
type TightPngEncoding ¶
type TightPngEncoding struct {
// contains filtered or unexported fields
}
func (*TightPngEncoding) Read ¶
func (t *TightPngEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*TightPngEncoding) Type ¶
func (*TightPngEncoding) Type() int32
type ZLibEncoding ¶
type ZLibEncoding struct {
// contains filtered or unexported fields
}
func (*ZLibEncoding) Read ¶
func (z *ZLibEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*ZLibEncoding) Type ¶
func (z *ZLibEncoding) Type() int32
type ZRLEEncoding ¶
type ZRLEEncoding struct {
// contains filtered or unexported fields
}
func (*ZRLEEncoding) Read ¶
func (z *ZRLEEncoding) Read(pixelFmt *common.PixelFormat, rect *common.Rectangle, r *common.RfbReadHelper) (common.IEncoding, error)
func (*ZRLEEncoding) Type ¶
func (z *ZRLEEncoding) Type() int32
Click to show internal directories.
Click to hide internal directories.