Sink)
| Modifier and Type | Method and Description |
|---|---|
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | Returns: this instancea byte array bytes, int the start offset in the array off, int the number of bytes to write len)Puts a chunk of an array of bytes into this sink. |
| public PrimitiveSink | Returns: this instancea byte buffer bytes)Puts the remaining bytes of a byte buffer into this sink. |
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | |
| public PrimitiveSink | putString(CharSequence charSequence, Charset charset)
Puts a string into this sink using the given charset. |
| public PrimitiveSink | putUnencodedChars(CharSequence charSequence)
Puts each 16-bit code unit from the |
| putBoolean | back to summary |
|---|---|
| public PrimitiveSink putBoolean(boolean b) Puts a boolean into this sink.
| |
| putByte | back to summary |
|---|---|
| public PrimitiveSink putByte(byte b) Puts a byte into this sink.
| |
| putBytes | back to summary |
|---|---|
| public PrimitiveSink putBytes(byte[] bytes) Puts an array of bytes into this sink.
| |
| putBytes | back to summary |
|---|---|
| public PrimitiveSink putBytes(byte[] bytes, int off, int len) Puts a chunk of an array of bytes into this sink.
| |
| putBytes | back to summary |
|---|---|
| public PrimitiveSink putBytes(ByteBuffer bytes) Puts the remaining bytes of a byte buffer into this sink.
| |
| putChar | back to summary |
|---|---|
| public PrimitiveSink putChar(char c) Puts a character into this sink.
| |
| putDouble | back to summary |
|---|---|
| public PrimitiveSink putDouble(double d) Puts a double into this sink.
| |
| putFloat | back to summary |
|---|---|
| public PrimitiveSink putFloat(float f) Puts a float into this sink.
| |
| putInt | back to summary |
|---|---|
| public PrimitiveSink putInt(int i) Puts an int into this sink.
| |
| putLong | back to summary |
|---|---|
| public PrimitiveSink putLong(long l) Puts a long into this sink.
| |
| putShort | back to summary |
|---|---|
| public PrimitiveSink putShort(short s) Puts a short into this sink.
| |
| putString | back to summary |
|---|---|
| public PrimitiveSink putString(CharSequence charSequence, Charset charset) Puts a string into this sink using the given charset. Warning This method, which reencodes the input before processing it, is useful only
for cross-language compatibility. For other use cases, prefer
| |
| putUnencodedChars | back to summary |
|---|---|
| public PrimitiveSink putUnencodedChars(CharSequence charSequence) Puts each 16-bit code unit from the Warning This method will produce different output than most other languages do when
running on the equivalent input. For cross-language compatibility, use
| |