MCPcopy Create free account
hub / github.com/amitbet/vncproxy / String

Method String

client/server-messages.go:20–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func (m *MsgFramebufferUpdate) String() string {
21 str := fmt.Sprintf("MsgFramebufferUpdate (type=%d) Rects: ", m.Type())
22 for _, rect := range m.Rectangles {
23 str += rect.String() + "\n"
24 //if this is the last rect, break the loop
25 if rect.Enc.Type() == int32(common.EncLastRectPseudo) {
26 break
27 }
28 }
29 return str
30}
31
32func (*MsgFramebufferUpdate) Type() uint8 {
33 return 0

Callers

nothing calls this directly

Calls 3

TypeMethod · 0.95
StringMethod · 0.65
TypeMethod · 0.65

Tested by

no test coverage detected