public class WriteChannel extends Object implements AutoCloseable
| コンストラクタと説明 |
|---|
WriteChannel(WritableByteChannel out) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
align() |
void |
close() |
long |
getCurrentPosition() |
static ByteBuffer |
serialize(FBSerializable writer) |
void |
write(ArrowBuf buffer) |
long |
write(byte[] buffer) |
long |
write(ByteBuffer buffer) |
long |
write(FBSerializable writer,
boolean withSizePrefix) |
long |
writeIntLittleEndian(int v) |
long |
writeZeros(int zeroCount) |
public WriteChannel(WritableByteChannel out)
public void close()
throws IOException
close インタフェース内 AutoCloseableIOExceptionpublic long getCurrentPosition()
public long write(byte[] buffer)
throws IOException
IOExceptionpublic long writeZeros(int zeroCount)
throws IOException
IOExceptionpublic long align()
throws IOException
IOExceptionpublic long write(ByteBuffer buffer) throws IOException
IOExceptionpublic long writeIntLittleEndian(int v)
throws IOException
IOExceptionpublic void write(ArrowBuf buffer) throws IOException
IOExceptionpublic long write(FBSerializable writer, boolean withSizePrefix) throws IOException
IOExceptionpublic static ByteBuffer serialize(FBSerializable writer)
Copyright © 2018 The Apache Software Foundation. All rights reserved.