MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / readSetColourMapEntries

Method readSetColourMapEntries

java/com/tigervnc/rfb/CMsgReader.java:134–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 protected void readSetColourMapEntries()
135 {
136 is.skip(1);
137 int firstColour = is.readU16();
138 int nColours = is.readU16();
139 int[] rgbs = new int[nColours * 3];
140 for (int i = 0; i < nColours * 3; i++)
141 rgbs[i] = is.readU16();
142 handler.setColourMapEntries(firstColour, nColours, rgbs);
143 }
144
145 protected void readBell()
146 {

Callers 1

readMsgMethod · 0.95

Calls 3

skipMethod · 0.45
readU16Method · 0.45
setColourMapEntriesMethod · 0.45

Tested by

no test coverage detected