mirror of
https://github.com/amitbet/vnc2video.git
synced 2025-05-01 03:53:24 +00:00
22 lines
605 B
Go
22 lines
605 B
Go
package vnc2video
|
|
|
|
// DesktopSizePseudoEncoding represents a desktop size message from the server.
|
|
type DesktopSizePseudoEncoding struct{}
|
|
|
|
func (*DesktopSizePseudoEncoding) Supported(Conn) bool {
|
|
return true
|
|
}
|
|
func (*DesktopSizePseudoEncoding) Reset() error {
|
|
return nil
|
|
}
|
|
func (*DesktopSizePseudoEncoding) Type() EncodingType { return EncDesktopSizePseudo }
|
|
|
|
// Read implements the Encoding interface.
|
|
func (*DesktopSizePseudoEncoding) Read(c Conn, rect *Rectangle) error {
|
|
return nil
|
|
}
|
|
|
|
func (enc *DesktopSizePseudoEncoding) Write(c Conn, rect *Rectangle) error {
|
|
return nil
|
|
}
|