go-rfb/security_tight.go

12 lines
199 B
Go
Raw Normal View History

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
}