Uses of Interface
org.miaixz.bus.core.io.sink.BufferSink
Packages that use BufferSink
-
Uses of BufferSink in org.miaixz.bus.core.io.buffer
Classes in org.miaixz.bus.core.io.buffer that implement BufferSinkMethods in org.miaixz.bus.core.io.buffer that return BufferSink -
Uses of BufferSink in org.miaixz.bus.core.io.sink
Classes in org.miaixz.bus.core.io.sink that implement BufferSinkMethods in org.miaixz.bus.core.io.sink that return BufferSinkModifier and TypeMethodDescriptionBufferSink.emit()Writes all buffered data to the underlying sink, if one exists.RealSink.emit()BufferSink.emitCompleteSegments()Writes complete segments to the underlying sink, if one exists.RealSink.emitCompleteSegments()BufferSink.write(byte[] source) LikeOutputStream.write(byte[]), this writes a complete byte array to this sink.BufferSink.write(byte[] source, int offset, int byteCount) LikeOutputStream.write(byte[], int, int), this writesbyteCountbytes ofsource, starting atoffset.BufferSink.write(ByteString byteString) RemovesbyteCountbytes fromsourceand appends them to this sink.RealSink.write(byte[] source) RealSink.write(byte[] source, int offset, int byteCount) RealSink.write(ByteString byteString) BufferSink.writeByte(int b) Writes a byte to this sink.RealSink.writeByte(int b) BufferSink.writeDecimalLong(long v) Writes a long to this sink in signed decimal form (i.e., as a string in base 10).RealSink.writeDecimalLong(long v) BufferSink.writeHexadecimalUnsignedLong(long v) Writes a long to this sink in hexadecimal form (i.e., as a string in base 16).RealSink.writeHexadecimalUnsignedLong(long v) BufferSink.writeInt(int i) Writes a big-endian int to this sink using four bytes.RealSink.writeInt(int i) BufferSink.writeIntLe(int i) Writes a little-endian int to this sink using four bytes.RealSink.writeIntLe(int i) BufferSink.writeLong(long v) Writes a big-endian long to this sink using eight bytes.RealSink.writeLong(long v) BufferSink.writeLongLe(long v) Writes a little-endian long to this sink using eight bytes.RealSink.writeLongLe(long v) BufferSink.writeShort(int s) Writes a big-endian short to this sink using two bytes.RealSink.writeShort(int s) BufferSink.writeShortLe(int s) Writes a little-endian short to this sink using two bytes.RealSink.writeShortLe(int s) BufferSink.writeString(String string, int beginIndex, int endIndex, Charset charset) Encodes the characters atbeginIndexup toendIndexfromstringincharsetand writes it to this sink.BufferSink.writeString(String string, Charset charset) Encodesstringincharsetand writes it to this sink.RealSink.writeString(String string, int beginIndex, int endIndex, Charset charset) RealSink.writeString(String string, Charset charset) Encodesstringin UTF-8 and writes it to this sink.Encodes the characters atbeginIndexup toendIndexfromstringin UTF-8 and writes it to this sink.BufferSink.writeUtf8CodePoint(int codePoint) EncodescodePointin UTF-8 and writes it to this sink.RealSink.writeUtf8CodePoint(int codePoint) -
Uses of BufferSink in org.miaixz.bus.core.xyz
Methods in org.miaixz.bus.core.xyz that return BufferSink