@InterfaceAudience.Private public class ByteBufferWriterDataOutputStream extends DataOutputStream implements ByteBufferWriter
writtenout| Constructor and Description |
|---|
ByteBufferWriterDataOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
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, writeUTFclose, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteIntwritepublic ByteBufferWriterDataOutputStream(OutputStream out)
public void write(ByteBuffer b, int off, int len) throws IOException
ByteBufferWriterlen bytes from the specified ByteBuffer starting at offset offwrite in interface ByteBufferWriterb - 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–2020 The Apache Software Foundation. All rights reserved.