public enum WriteSink extends java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract LinkedBuffer drain(WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic final LinkedBuffer writeByteArrayB64(byte[] value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeByteArrayB64(byte[] value, int offset, int length, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic final LinkedBuffer writeByteArray(byte[] value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeByteArray(byte[] value, int offset, int length, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeByte(byte value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeInt32(int value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeInt64(long value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic final LinkedBuffer writeFloat(float value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic final LinkedBuffer writeDouble(double value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeInt16(int value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeInt16LE(int value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeInt32LE(int value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeInt64LE(long value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic final LinkedBuffer writeFloatLE(float value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic final LinkedBuffer writeDoubleLE(double value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeVarInt32(int value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeVarInt64(long value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrFromInt(int value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrFromLong(long value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrFromFloat(float value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrFromDouble(double value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrAscii(java.lang.String value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrUTF8(java.lang.String value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrUTF8VarDelimited(java.lang.String value, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionpublic abstract LinkedBuffer writeStrUTF8FixedDelimited(java.lang.String value, boolean littleEndian, WriteSession session, LinkedBuffer lb) throws java.io.IOException
java.io.IOExceptionCopyright © 2009-2017. All Rights Reserved.