Parse descriptor text @param desc An 18-byte VESA descriptor @return Plain text starting at the 4th byte
(byte[] desc)
| 230 | * @return Plain text starting at the 4th byte |
| 231 | */ |
| 232 | public static String getDescriptorText(byte[] desc) { |
| 233 | return new String(Arrays.copyOfRange(desc, 4, 18), StandardCharsets.US_ASCII).trim(); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * Parse an EDID byte array into user-readable information |
no outgoing calls