go-rfb/security_tight.go
Vasiliy Tolstov 834a967c2b split security
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-06-26 14:22:27 +03:00

12 lines
199 B
Go

package vnc
import "encoding/binary"
func readTightTunnels(c Conn) (uint32, error) {
var n uint32
if err := binary.Read(c, binary.BigEndian, &n); err != nil {
return 0, err
}
return n, nil
}