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

Method getVersion

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

Return the EDID version @param edid The EDID byte array @return The EDID version

(byte[] edid)

Source from the content-addressed store, hash-verified

130 * @return The EDID version
131 */
132 public static String getVersion(byte[] edid) {
133 // Bytes 18-19 are EDID version
134 return edid[18] + "." + edid[19];
135 }
136
137 /**
138 * Test if this EDID is a digital monitor based on byte 20

Callers 2

testGetEdidAttrsMethod · 0.95
toStringMethod · 0.95

Calls

no outgoing calls

Tested by 1

testGetEdidAttrsMethod · 0.76