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
インタフェース内 AutoCloseable
IOException
public long getCurrentPosition()
public long write(byte[] buffer) throws IOException
IOException
public long writeZeros(int zeroCount) throws IOException
IOException
public long align() throws IOException
IOException
public long write(ByteBuffer buffer) throws IOException
IOException
public long writeIntLittleEndian(int v) throws IOException
IOException
public void write(ArrowBuf buffer) throws IOException
IOException
public long write(FBSerializable writer, boolean withSizePrefix) throws IOException
IOException
public static ByteBuffer serialize(FBSerializable writer)
Copyright © 2018 The Apache Software Foundation. All rights reserved.