本文整理了Java中jodd.io.FileUtil.outBytes()
方法的一些代码示例,展示了FileUtil.outBytes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileUtil.outBytes()
方法的具体详情如下:
包路径:jodd.io.FileUtil
类名称:FileUtil
方法名:outBytes
[英]Writes data to File destination.
[中]将数据写入文件目标。
代码示例来源:origin: redisson/redisson
public static void appendBytes(File dest, byte[] data, int off, int len) throws IOException {
outBytes(dest, data, off, len, true);
}
代码示例来源:origin: redisson/redisson
public static void writeBytes(File dest, byte[] data, int off, int len) throws IOException {
outBytes(dest, data, off, len, false);
}
代码示例来源:origin: redisson/redisson
public static void appendBytes(File dest, byte[] data) throws IOException {
outBytes(dest, data, 0, data.length, true);
}
代码示例来源:origin: redisson/redisson
public static void writeBytes(File dest, byte[] data) throws IOException {
outBytes(dest, data, 0, data.length, false);
}
代码示例来源:origin: oblac/jodd
/**
* Appends bytes. append = true
*
* @see #outBytes(File, byte[], int, int, boolean)
*/
public static void appendBytes(final File dest, final byte[] data, final int off, final int len) throws IOException {
outBytes(dest, data, off, len, true);
}
代码示例来源:origin: oblac/jodd
/**
* Write bytes. append = false
*
* @see #outBytes(File, byte[], int, int, boolean)
*/
public static void writeBytes(final File dest, final byte[] data, final int off, final int len) throws IOException {
outBytes(dest, data, off, len, false);
}
代码示例来源:origin: redisson/redisson
public static void writeBytes(String dest, byte[] data) throws IOException {
outBytes(file(dest), data, 0, data.length, false);
}
代码示例来源:origin: redisson/redisson
public static void writeBytes(String dest, byte[] data, int off, int len) throws IOException {
outBytes(file(dest), data, off, len, false);
}
代码示例来源:origin: redisson/redisson
public static void appendBytes(String dest, byte[] data) throws IOException {
outBytes(file(dest), data, 0, data.length, true);
}
代码示例来源:origin: redisson/redisson
public static void appendBytes(String dest, byte[] data, int off, int len) throws IOException {
outBytes(file(dest), data, off, len, true);
}
代码示例来源:origin: org.jodd/jodd-core
/**
* Write bytes. append = false
*
* @see #outBytes(File, byte[], int, int, boolean)
*/
public static void writeBytes(final File dest, final byte[] data, final int off, final int len) throws IOException {
outBytes(dest, data, off, len, false);
}
代码示例来源:origin: org.jodd/jodd-core
/**
* Appends bytes. append = true
*
* @see #outBytes(File, byte[], int, int, boolean)
*/
public static void appendBytes(final File dest, final byte[] data, final int off, final int len) throws IOException {
outBytes(dest, data, off, len, true);
}
内容来源于网络,如有侵权,请联系作者删除!