Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OutputStreamUtil (3.77 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         * @param bytes
         *            The byte array to write.
         */
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top