@InterfaceAudience.Private public class ByteBufferWriterDataOutputStream extends DataOutputStream implements ByteBufferWriter
written
out
构造器和说明 |
---|
ByteBufferWriterDataOutputStream(OutputStream out) |
限定符和类型 | 方法和说明 |
---|---|
void |
write(ByteBuffer b,
int off,
int len)
Writes
len bytes from the specified ByteBuffer starting at offset off |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
close, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeInt
write
public ByteBufferWriterDataOutputStream(OutputStream out)
public void write(ByteBuffer b, int off, int len) throws IOException
ByteBufferWriter
len
bytes from the specified ByteBuffer starting at offset off
write
在接口中 ByteBufferWriter
b
- the data.off
- the start offset in the data.len
- the number of bytes to write.IOException
- if an I/O error occurs.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.