接口的使用
com.lark.oapi.okio.BufferedSink
使用BufferedSink的程序包
程序包
说明
An HTTP+HTTP/2 client for Android and Java applications.
-
com.lark.oapi.okhttp中BufferedSink的使用
参数类型为BufferedSink的com.lark.oapi.okhttp中的方法修饰符和类型方法说明voidFormBody.writeTo(BufferedSink sink) voidMultipartBody.writeTo(BufferedSink sink) abstract voidRequestBody.writeTo(BufferedSink sink) Writes the content of this request tosink. -
com.lark.oapi.okhttp.internal.http1中BufferedSink的使用
限定符构造器说明Http1ExchangeCodec(OkHttpClient client, RealConnection realConnection, BufferedSource source, BufferedSink sink) -
com.lark.oapi.okhttp.internal.http2中BufferedSink的使用
修饰符和类型方法说明Http2Connection.Builder.socket(Socket socket, String connectionName, BufferedSource source, BufferedSink sink) -
com.lark.oapi.okhttp.internal.ws中BufferedSink的使用
参数类型为BufferedSink的com.lark.oapi.okhttp.internal.ws中的构造器 -
com.lark.oapi.okio中BufferedSink的使用
修饰符和类型方法说明static BufferedSinkReturns a new sink that buffers writes tosink.Buffer.emit()BufferedSink.emit()Writes all buffered data to the underlying sink, if one exists.BufferedSink.emitCompleteSegments()Writes complete segments to the underlying sink, if one exists.BufferedSink.write(byte[] source) LikeOutputStream.write(byte[]), this writes a complete byte array to this sink.BufferedSink.write(byte[] source, int offset, int byteCount) LikeOutputStream.write(byte[], int, int), this writesbyteCountbytes ofsource, starting atoffset.BufferedSink.write(ByteString byteString) RemovesbyteCountbytes fromsourceand appends them to this sink.BufferedSink.writeByte(int b) Writes a byte to this sink.BufferedSink.writeDecimalLong(long v) Writes a long to this sink in signed decimal form (i.e., as a string in base 10).BufferedSink.writeHexadecimalUnsignedLong(long v) Writes a long to this sink in hexadecimal form (i.e., as a string in base 16).BufferedSink.writeInt(int i) Writes a big-endian int to this sink using four bytes.BufferedSink.writeIntLe(int i) Writes a little-endian int to this sink using four bytes.BufferedSink.writeLong(long v) Writes a big-endian long to this sink using eight bytes.BufferedSink.writeLongLe(long v) Writes a little-endian long to this sink using eight bytes.BufferedSink.writeShort(int s) Writes a big-endian short to this sink using two bytes.BufferedSink.writeShortLe(int s) Writes a little-endian short to this sink using two bytes.BufferedSink.writeString(String string, int beginIndex, int endIndex, Charset charset) Encodes the characters atbeginIndexup toendIndexfromstringincharsetand writes it to this sink.BufferedSink.writeString(String string, Charset charset) Encodesstringincharsetand writes it to this sink.Encodesstringin UTF-8 and writes it to this sink.Encodes the characters atbeginIndexup toendIndexfromstringin UTF-8 and writes it to this sink.BufferedSink.writeUtf8CodePoint(int codePoint) EncodescodePointin UTF-8 and writes it to this sink.