本文整理了Java中ucar.unidata.io.RandomAccessFile.writeBytes
方法的一些代码示例,展示了RandomAccessFile.writeBytes
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RandomAccessFile.writeBytes
方法的具体详情如下:
包路径:ucar.unidata.io.RandomAccessFile
类名称:RandomAccessFile
方法名:writeBytes
[英]Writes the string to the file as a sequence of bytes. Each character in the string is written out, in sequence, by discarding its high eight bits.
[中]将字符串作为字节序列写入文件。字符串中的每个字符都是通过丢弃其高八位按顺序写出的。
代码示例来源:origin: edu.ucar/cdm
/**
* Writes <code>b.length</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[]) throws IOException {
writeBytes(b, 0, b.length);
}
代码示例来源:origin: Unidata/thredds
/**
* Writes <code>len</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[], int off, int len) throws IOException {
writeBytes(b, off, len);
}
代码示例来源:origin: edu.ucar/netcdf
/**
* Writes <code>b.length</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[]) throws IOException {
writeBytes(b, 0, b.length);
}
代码示例来源:origin: edu.ucar/netcdf
/**
* Writes <code>len</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[], int off, int len) throws IOException {
writeBytes(b, off, len);
}
代码示例来源:origin: edu.ucar/cdm
/**
* Writes <code>len</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[], int off, int len) throws IOException {
writeBytes(b, off, len);
}
代码示例来源:origin: edu.ucar/unidataCommon
/**
* Writes <code>len</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[], int off, int len) throws IOException {
writeBytes(b, off, len);
}
代码示例来源:origin: Unidata/thredds
/**
* Writes <code>b.length</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[]) throws IOException {
writeBytes(b, 0, b.length);
}
代码示例来源:origin: edu.ucar/unidataCommon
/**
* Writes <code>b.length</code> bytes from the specified byte array
* starting at offset <code>off</code> to this file.
*
* @param b the data.
* @throws IOException if an I/O error occurs.
*/
public void write(byte b[]) throws IOException {
writeBytes(b, 0, b.length);
}
内容来源于网络,如有侵权,请联系作者删除!