MCPcopy Create free account
hub / github.com/oshi/oshi / getDescriptors

Method getDescriptors

oshi-core/src/main/java/oshi/util/EdidUtil.java:180–186  ·  view source on GitHub ↗

Get the VESA descriptors @param edid The EDID byte array @return A 2D array with four 18-byte elements representing VESA descriptors

(byte[] edid)

Source from the content-addressed store, hash-verified

178 * @return A 2D array with four 18-byte elements representing VESA descriptors
179 */
180 public static byte[][] getDescriptors(byte[] edid) {
181 byte[][] desc = new byte[4][18];
182 for (int i = 0; i < desc.length; i++) {
183 System.arraycopy(edid, 54 + 18 * i, desc[i], 0, 18);
184 }
185 return desc;
186 }
187
188 /**
189 * Get the VESA descriptor type

Callers 3

getDisplayMethod · 0.95
testGetDescriptorsMethod · 0.95
toStringMethod · 0.95

Calls

no outgoing calls

Tested by 1

testGetDescriptorsMethod · 0.76