public interface DataOutputPlus
extends java.io.DataOutput
| Modifier and Type | Method and Description |
|---|---|
<R> R |
applyToChannel(com.google.common.base.Function<java.nio.channels.WritableByteChannel,R> c)
Safe way to operate against the underlying channel.
|
void |
write(java.nio.ByteBuffer buffer) |
void |
write(Memory memory,
long offset,
long length) |
default void |
writeUnsignedVInt(long i)
Think hard before opting for an unsigned encoding.
|
default void |
writeVInt(long i) |
void write(java.nio.ByteBuffer buffer)
throws java.io.IOException
java.io.IOExceptionvoid write(Memory memory, long offset, long length) throws java.io.IOException
java.io.IOException<R> R applyToChannel(com.google.common.base.Function<java.nio.channels.WritableByteChannel,R> c)
throws java.io.IOException
java.io.IOExceptiondefault void writeVInt(long i)
throws java.io.IOException
java.io.IOExceptiondefault void writeUnsignedVInt(long i)
throws java.io.IOException
java.io.IOExceptionCopyright © 2015 The Apache Software Foundation