类的使用
com.lark.oapi.okio.Buffer
使用Buffer的程序包
程序包
说明
-
com.lark.oapi.okhttp.internal.http2中Buffer的使用
-
com.lark.oapi.okio中Buffer的使用
声明为Buffer的com.lark.oapi.okio中的字段返回Buffer的com.lark.oapi.okio中的方法修饰符和类型方法说明Buffer.buffer()BufferedSink.buffer()Returns this sink's internal buffer.BufferedSource.buffer()已过时。use getBuffer() instead.Buffer.clone()Returns a deep copy of this buffer.final BufferCopybyteCountbytes from this, starting atoffset, toout.final BufferBuffer.copyTo(OutputStream out) Copy the contents of this toout.final BufferBuffer.copyTo(OutputStream out, long offset, long byteCount) CopybyteCountbytes from this, starting atoffset, toout.Buffer.emitCompleteSegments()Buffer.getBuffer()BufferedSource.getBuffer()This source's internal buffer.final BufferBuffer.readFrom(InputStream in) Read and exhaust bytes frominto this.final BufferBuffer.readFrom(InputStream in, long byteCount) ReadbyteCountbytes frominto this.Buffer.write(byte[] source) Buffer.write(byte[] source, int offset, int byteCount) Buffer.write(ByteString byteString) Buffer.writeByte(int b) Buffer.writeDecimalLong(long v) Buffer.writeHexadecimalUnsignedLong(long v) Buffer.writeInt(int i) Buffer.writeIntLe(int i) Buffer.writeLong(long v) Buffer.writeLongLe(long v) Buffer.writeShort(int s) Buffer.writeShortLe(int s) Buffer.writeString(String string, int beginIndex, int endIndex, Charset charset) Buffer.writeString(String string, Charset charset) final BufferBuffer.writeTo(OutputStream out) Write the contents of this toout.final BufferBuffer.writeTo(OutputStream out, long byteCount) WritebyteCountbytes from this toout.Buffer.writeUtf8CodePoint(int codePoint) 参数类型为Buffer的com.lark.oapi.okio中的方法修饰符和类型方法说明final BufferCopybyteCountbytes from this, starting atoffset, toout.longlonglonglonglonglongRemoves at least 1, and up tobyteCountbytes from this and appends them tosink.voidvoidRemoves exactlybyteCountbytes from this and appends them tosink.voidvoidvoidvoidvoidvoidRemovesbyteCountbytes fromsourceand appends them to this.