- Sort Score
- Result 10 results
- Languages All
Results 31 - 33 of 33 for readNBytes (0.14 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc
if (it.extension == "java") { // Read the source code var ins: InputStream = it.inputStream() var content = ins.readBytes().toString(Charset.defaultCharset()) // Write the license and the source code to the file it.writeText(licenseText + content) } } } } ---- =====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 17:16:27 UTC 2024 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } /** * ファイルの内容をバイト配列に読み込んで返します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルの内容を読み込んだバイト配列 */ public static byte[] readBytes(final File file) { assertArgumentNotNull("file", file); final FileInputStream is = InputStreamUtil.create(file); try { final FileChannel channel = is.getChannel();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
internal/s3select/csv/reader.go
// ReadFull returns ErrUnexpectedEOF. return dst[:n], err } dst = dst[:n] if err == io.ErrUnexpectedEOF { return dst, io.EOF } } // Read until next line. in, err := r.buf.ReadBytes('\n') dst = append(dst, in...) return dst, err } // csvSplitSize is the size of each block. // Blocks will read this much and find the first following newline.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0)