public enum WriteSink extends Enum<WriteSink>
WriteSession.public static final WriteSink BUFFERED
public static final WriteSink STREAMED
public static WriteSink[] values()
for (WriteSink c : WriteSink.values()) System.out.println(c);
public static WriteSink valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract LinkedBuffer drain(WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic final LinkedBuffer writeByteArrayB64(byte[] value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeByteArrayB64(byte[] value, int offset, int length, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic final LinkedBuffer writeByteArray(byte[] value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeByteArray(byte[] value, int offset, int length, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeByte(byte value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeInt32(int value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeInt64(long value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic final LinkedBuffer writeFloat(float value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic final LinkedBuffer writeDouble(double value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeInt16(int value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeInt16LE(int value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeInt32LE(int value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeInt64LE(long value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic final LinkedBuffer writeFloatLE(float value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic final LinkedBuffer writeDoubleLE(double value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeVarInt32(int value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeVarInt64(long value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrFromInt(int value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrFromLong(long value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrFromFloat(float value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrFromDouble(double value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrAscii(CharSequence value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrUTF8(CharSequence value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrUTF8VarDelimited(CharSequence value, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionpublic abstract LinkedBuffer writeStrUTF8FixedDelimited(CharSequence value, boolean littleEndian, WriteSession session, LinkedBuffer lb) throws IOException
IOExceptionCopyright © 2009–2021. All rights reserved.