Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for byteValue (0.07 sec)

  1. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Byte) {
                return (Byte) o;
            } else if (o instanceof Number) {
                return ((Number) o).byteValue();
            } else if (o instanceof String) {
                return toByte((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            try (InputStream stream = cache.getInputStream()) {
                for (int i = 0; i < 256; i++) {
                    int byteValue = stream.read();
                    assertEquals("Byte at position " + i, i & 0xFF, byteValue);
                }
                assertEquals(-1, stream.read()); // End of stream
            }
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top