| Package | Description | 
|---|---|
| com.squareup.okio.benchmarks | |
| okio | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Buffer | BufferPerformanceBenchmark.BufferState. receive(byte[] bytes,
       int maxChunkSize)Fills up the receive buffer, hands off to process buffer and returns it for consuming. | 
| Modifier and Type | Method and Description | 
|---|---|
| Buffer | Buffer. buffer() | 
| Buffer | BufferedSource. buffer()Returns this source's internal buffer. | 
| Buffer | BufferedSink. buffer()Returns this sink's internal buffer. | 
| Buffer | Buffer. clone()Returns a deep copy of this buffer. | 
| Buffer | Buffer. copyTo(Buffer out,
      long offset,
      long byteCount)Copy  byteCountbytes from this, starting atoffset, toout. | 
| Buffer | Buffer. copyTo(OutputStream out)Copy the contents of this to  out. | 
| Buffer | Buffer. copyTo(OutputStream out,
      long offset,
      long byteCount)Copy  byteCountbytes from this, starting atoffset, toout. | 
| Buffer | Buffer. emitCompleteSegments() | 
| Buffer | Buffer. readFrom(InputStream in)Read and exhaust bytes from  into this. | 
| Buffer | Buffer. readFrom(InputStream in,
        long byteCount)Read  byteCountbytes frominto this. | 
| Buffer | Buffer. write(byte[] source) | 
| Buffer | Buffer. write(byte[] source,
     int offset,
     int byteCount) | 
| Buffer | Buffer. write(ByteString byteString) | 
| Buffer | Buffer. writeByte(int b) | 
| Buffer | Buffer. writeDecimalLong(long v) | 
| Buffer | Buffer. writeHexadecimalUnsignedLong(long v) | 
| Buffer | Buffer. writeInt(int i) | 
| Buffer | Buffer. writeIntLe(int i) | 
| Buffer | Buffer. writeLong(long v) | 
| Buffer | Buffer. writeLongLe(long v) | 
| Buffer | Buffer. writeShort(int s) | 
| Buffer | Buffer. writeShortLe(int s) | 
| Buffer | Buffer. writeString(String string,
           Charset charset) | 
| Buffer | Buffer. writeString(String string,
           int beginIndex,
           int endIndex,
           Charset charset) | 
| Buffer | Buffer. writeTo(OutputStream out)Write the contents of this to  out. | 
| Buffer | Buffer. writeTo(OutputStream out,
       long byteCount)Write  byteCountbytes from this toout. | 
| Buffer | Buffer. writeUtf8(String string) | 
| Buffer | Buffer. writeUtf8(String string,
         int beginIndex,
         int endIndex) | 
| Buffer | Buffer. writeUtf8CodePoint(int codePoint) | 
| Modifier and Type | Method and Description | 
|---|---|
| Buffer | Buffer. copyTo(Buffer out,
      long offset,
      long byteCount)Copy  byteCountbytes from this, starting atoffset, toout. | 
| long | ForwardingSource. read(Buffer sink,
    long byteCount) | 
| long | Buffer. read(Buffer sink,
    long byteCount) | 
| long | InflaterSource. read(Buffer sink,
    long byteCount) | 
| long | Source. read(Buffer sink,
    long byteCount)Removes at least 1, and up to  byteCountbytes from this and appends
 them tosink. | 
| long | GzipSource. read(Buffer sink,
    long byteCount) | 
| long | HashingSource. read(Buffer sink,
    long byteCount) | 
| void | Buffer. readFully(Buffer sink,
         long byteCount) | 
| void | BufferedSource. readFully(Buffer sink,
         long byteCount)Removes exactly  byteCountbytes from this and appends them tosink. | 
| void | ForwardingSink. write(Buffer source,
     long byteCount) | 
| void | Buffer. write(Buffer source,
     long byteCount) | 
| void | Sink. write(Buffer source,
     long byteCount)Removes  byteCountbytes fromsourceand appends them to this. | 
| void | GzipSink. write(Buffer source,
     long byteCount) | 
| void | HashingSink. write(Buffer source,
     long byteCount) | 
| void | DeflaterSink. write(Buffer source,
     long byteCount) | 
Copyright © 2017. All rights reserved.