- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for readAllBytes (0.43 seconds)
-
android/guava/src/com/google/common/io/ByteStreams.java
} return result; } /** * Reads all bytes from an input stream into a byte array. Does not close the stream. * * <p><b>Java 9+ users:</b> use {@code in#readAllBytes()} instead. * * @param in the input stream to read from * @return a byte array containing all the bytes from the stream * @throws IOException if an I/O error occurs */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
return asByteSink(file, modes).asCharSink(charset); } /** * Reads all bytes from a file into a byte array. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}. * * @param file the file to read from * @return a byte array containing all the bytes from file * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
if (is == null) { throw new IOException("Resource not found: suggest_indices/suggest/mappings-default.json"); } return new String(is.readAllBytes(), StandardCharsets.UTF_8); } } private String getDefaultIndexSettings() throws IOException {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.6K bytes - Click Count (3) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0); // Verify the content contains thread information String content = new String(Files.readAllBytes(tempFile), Constants.CHARSET_UTF_8); assertTrue("Content should contain 'Thread:'", content.contains("Thread:")); assertTrue("Content should contain stack trace elements", content.contains("\tat "));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
tempChecksumFile.deleteOnExit(); wagon.get(remotePath + checksumFileExtension, tempChecksumFile); byte[] bytes = Files.readAllBytes(tempChecksumFile.toPath()); String expectedChecksum = new String(bytes, StandardCharsets.UTF_8); // remove whitespaces at the end expectedChecksum = expectedChecksum.trim();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0)