go-rfb/encoding_desktopsize.go
Vasiliy Tolstov 1ec2df07e9 split encodings
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-06-26 13:20:39 +03:00

16 lines
442 B
Go

package vnc
// DesktopSizePseudoEncoding represents a desktop size message from the server.
type DesktopSizePseudoEncoding struct{}
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
}