Searched refs:byteToHex (Results 1 – 4 of 4) sorted by relevance
/external/kotlinpoet/docs/ |
D | n-for-names.md | 8 fun byteToHex(b: Int): String { 20 When generating the code above, we pass the `hexDigit()` method as an argument to the `byteToHex()` 30 val byteToHex = FunSpec.builder("byteToHex")
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | ConversionTest.java | 1377 assertEquals("", Conversion.byteToHex((byte) 0x00, 0, "", 0, 0)); in testByteToHex() 1378 assertEquals("", Conversion.byteToHex((byte) 0x00, 100, "", 0, 0)); in testByteToHex() 1379 assertEquals("", Conversion.byteToHex((byte) 0x00, 0, "", 100, 0)); in testByteToHex() 1380 assertEquals("00000", Conversion.byteToHex((byte) 0xEF, 0, "00000", 0, 0)); in testByteToHex() 1381 assertEquals("f0000", Conversion.byteToHex((byte) 0xEF, 0, "00000", 0, 1)); in testByteToHex() 1382 assertEquals("fe000", Conversion.byteToHex((byte) 0xEF, 0, "00000", 0, 2)); in testByteToHex() 1383 assertEquals("000f0", Conversion.byteToHex((byte) 0xEF, 0, "00000", 3, 1)); in testByteToHex() 1384 assertEquals("000fe", Conversion.byteToHex((byte) 0xEF, 0, "00000", 3, 2)); in testByteToHex() 1385 assertEquals("70000", Conversion.byteToHex((byte) 0xEF, 1, "00000", 0, 1)); in testByteToHex() 1386 assertEquals("b0000", Conversion.byteToHex((byte) 0xEF, 2, "00000", 0, 1)); in testByteToHex() [all …]
|
/external/javapoet/ |
D | README.md | 423 public String byteToHex(int b) { 435 When generating the code above, we pass the `hexDigit()` method as an argument to the `byteToHex()` 445 MethodSpec byteToHex = MethodSpec.methodBuilder("byteToHex")
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | Conversion.java | 1303 …public static String byteToHex(final byte src, final int srcPos, final String dstInit, final int d… in byteToHex() method in Conversion
|