- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ChannelUtil (2.4 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
final long fileSize = ChannelUtil.size(channel); if (fileSize > maxSize) { throw new IORuntimeException(new IOException("File too large: " + fileSize + " bytes (max: " + maxSize + " bytes). Use streaming APIs for large files.")); } final ByteBuffer buffer = ByteBuffer.allocate((int) fileSize); ChannelUtil.read(channel, buffer);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0)