META-INF/
META-INF/MANIFEST.MF
okio/
okio/AsyncTimeout$1.classAsyncTimeout.java
package okio
okio.AsyncTimeout$1 extends java.lang.Object implements okio.Sink {
final okio.Sink val$sink
final okio.AsyncTimeout this$0
void (okio.AsyncTimeout, okio.Sink)
okio.AsyncTimeout this$0
public void write (okio.Buffer, long) throws java.io.IOException
java.io.IOException e
okio.Buffer source
long byteCount
boolean throwOnTimeout
public void flush () throws java.io.IOException
java.io.IOException e
boolean throwOnTimeout
public void close () throws java.io.IOException
java.io.IOException e
boolean throwOnTimeout
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/AsyncTimeout$2.classAsyncTimeout.java
package okio
okio.AsyncTimeout$2 extends java.lang.Object implements okio.Source {
final okio.Source val$source
final okio.AsyncTimeout this$0
void (okio.AsyncTimeout, okio.Source)
okio.AsyncTimeout this$0
public long read (okio.Buffer, long) throws java.io.IOException
long result
java.io.IOException e
okio.Buffer sink
long byteCount
boolean throwOnTimeout
public void close () throws java.io.IOException
java.io.IOException e
boolean throwOnTimeout
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/AsyncTimeout$Watchdog.classAsyncTimeout.java
package okio
final okio.AsyncTimeout$Watchdog extends java.lang.Thread {
public void ()
public void run ()
okio.AsyncTimeout timedOut
}
okio/AsyncTimeout.classAsyncTimeout.java
package okio
public okio.AsyncTimeout extends okio.Timeout {
private static okio.AsyncTimeout head
private boolean inQueue
private okio.AsyncTimeout next
private long timeoutAt
public void ()
public final void enter ()
long timeoutNanos
boolean hasDeadline
private static synchronized void scheduleTimeout (okio.AsyncTimeout, long, boolean)
okio.AsyncTimeout prev
okio.AsyncTimeout node
long timeoutNanos
boolean hasDeadline
long now
long remainingNanos
public final boolean exit ()
private static synchronized boolean cancelScheduledTimeout (okio.AsyncTimeout)
okio.AsyncTimeout prev
okio.AsyncTimeout node
private long remainingNanos (long)
long now
protected void timedOut ()
public final okio.Sink sink (okio.Sink)
okio.Sink sink
public final okio.Source source (okio.Source)
okio.Source source
final void exit (boolean) throws java.io.IOException
boolean throwOnTimeout
boolean timedOut
final java.io.IOException exit (java.io.IOException) throws java.io.IOException
java.io.IOException cause
protected java.io.IOException newTimeoutException (java.io.IOException)
java.io.IOException cause
java.io.InterruptedIOException e
private static synchronized okio.AsyncTimeout awaitTimeout () throws java.lang.InterruptedException
long waitMillis
okio.AsyncTimeout node
long waitNanos
static okio.AsyncTimeout access$000 () throws java.lang.InterruptedException
}
okio/Base64.classBase64.java
package okio
final okio.Base64 extends java.lang.Object {
private static final byte[] MAP
private static final byte[] URL_MAP
private void ()
public static byte[] decode (java.lang.String)
char c
int bits
int bits
int bits
int bits
int bits
char c
int bits
int pos
String in
int limit
byte[] out
int outCount
int inCount
int word
int lastWordChars
byte[] prefix
public static java.lang.String encode (byte[])
byte[] in
public static java.lang.String encodeUrl (byte[])
byte[] in
private static java.lang.String encode (byte[], byte[])
int i
java.io.UnsupportedEncodingException e
byte[] in
byte[] map
int length
byte[] out
int index
int end
static void ()
}
okio/Buffer$1.classBuffer.java
package okio
okio.Buffer$1 extends java.io.OutputStream {
final okio.Buffer this$0
void (okio.Buffer)
okio.Buffer this$0
public void write (int)
int b
public void write (byte[], int, int)
byte[] data
int offset
int byteCount
public void flush ()
public void close ()
public java.lang.String toString ()
}
okio/Buffer$2.classBuffer.java
package okio
okio.Buffer$2 extends java.io.InputStream {
final okio.Buffer this$0
void (okio.Buffer)
okio.Buffer this$0
public int read ()
public int read (byte[], int, int)
byte[] sink
int offset
int byteCount
public int available ()
public void close ()
public java.lang.String toString ()
}
okio/Buffer.classBuffer.java
package okio
public final okio.Buffer extends java.lang.Object implements okio.BufferedSource okio.BufferedSink java.lang.Cloneable {
private static final byte[] DIGITS
static final int REPLACEMENT_CHARACTER
okio.Segment head
long size
public void ()
public long size ()
public okio.Buffer buffer ()
public java.io.OutputStream outputStream ()
public okio.Buffer emitCompleteSegments ()
public okio.BufferedSink emit ()
public boolean exhausted ()
public void require (long) throws java.io.EOFException
long byteCount
public boolean request (long)
long byteCount
public java.io.InputStream inputStream ()
public okio.Buffer copyTo (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
public okio.Buffer copyTo (java.io.OutputStream, long, long) throws java.io.IOException
int pos
int toCopy
java.io.OutputStream out
long offset
long byteCount
okio.Segment s
public okio.Buffer copyTo (okio.Buffer, long, long)
okio.Segment copy
okio.Buffer out
long offset
long byteCount
okio.Segment s
public okio.Buffer writeTo (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
public okio.Buffer writeTo (java.io.OutputStream, long) throws java.io.IOException
okio.Segment toRecycle
int toCopy
java.io.OutputStream out
long byteCount
okio.Segment s
public okio.Buffer readFrom (java.io.InputStream) throws java.io.IOException
java.io.InputStream in
public okio.Buffer readFrom (java.io.InputStream, long) throws java.io.IOException
java.io.InputStream in
long byteCount
private void readFrom (java.io.InputStream, long, boolean) throws java.io.IOException
okio.Segment tail
int maxToCopy
int bytesRead
java.io.InputStream in
long byteCount
boolean forever
public long completeSegmentByteCount ()
long result
okio.Segment tail
public byte readByte ()
okio.Segment segment
int pos
int limit
byte[] data
byte b
public byte getByte (long)
int segmentByteCount
okio.Segment s
long pos
public short readShort ()
int s
okio.Segment segment
int pos
int limit
byte[] data
int s
public int readInt ()
okio.Segment segment
int pos
int limit
byte[] data
int i
public long readLong ()
okio.Segment segment
int pos
int limit
byte[] data
long v
public short readShortLe ()
public int readIntLe ()
public long readLongLe ()
public long readDecimalLong ()
okio.Buffer buffer
int digit
byte b
okio.Segment segment
byte[] data
int pos
int limit
long value
int seen
boolean negative
boolean done
long overflowZone
long overflowDigit
public long readHexadecimalUnsignedLong ()
int digit
int digit
int digit
okio.Buffer buffer
int digit
byte b
okio.Segment segment
byte[] data
int pos
int limit
long value
int seen
boolean done
public okio.ByteString readByteString ()
public okio.ByteString readByteString (long) throws java.io.EOFException
long byteCount
public void readFully (okio.Buffer, long) throws java.io.EOFException
okio.Buffer sink
long byteCount
public long readAll (okio.Sink) throws java.io.IOException
okio.Sink sink
long byteCount
public java.lang.String readUtf8 ()
java.io.EOFException e
public java.lang.String readUtf8 (long) throws java.io.EOFException
long byteCount
public java.lang.String readString (java.nio.charset.Charset)
java.io.EOFException e
java.nio.charset.Charset charset
public java.lang.String readString (long, java.nio.charset.Charset) throws java.io.EOFException
long byteCount
java.nio.charset.Charset charset
okio.Segment s
String result
public java.lang.String readUtf8Line () throws java.io.EOFException
long newline
public java.lang.String readUtf8LineStrict () throws java.io.EOFException
okio.Buffer data
long newline
java.lang.String readUtf8Line (long) throws java.io.EOFException
String result
String result
long newline
public int readUtf8CodePoint () throws java.io.EOFException
int codePoint
int byteCount
int min
int codePoint
int byteCount
int min
int codePoint
int byteCount
int min
int codePoint
int byteCount
int min
byte b
int i
byte b0
int codePoint
int byteCount
int min
public byte[] readByteArray ()
java.io.EOFException e
public byte[] readByteArray (long) throws java.io.EOFException
long byteCount
byte[] result
public int read (byte[])
byte[] sink
public void readFully (byte[]) throws java.io.EOFException
int read
byte[] sink
int offset
public int read (byte[], int, int)
byte[] sink
int offset
int byteCount
okio.Segment s
int toCopy
public void clear ()
java.io.EOFException e
public void skip (long) throws java.io.EOFException
okio.Segment toRecycle
int toSkip
long byteCount
public okio.Buffer write (okio.ByteString)
okio.ByteString byteString
public okio.Buffer writeUtf8 (java.lang.String)
String string
public okio.Buffer writeUtf8 (java.lang.String, int, int)
okio.Segment tail
byte[] data
int segmentOffset
int runLimit
int runSize
int low
int codePoint
int c
int i
String string
int beginIndex
int endIndex
public okio.Buffer writeUtf8CodePoint (int)
int codePoint
public okio.Buffer writeString (java.lang.String, java.nio.charset.Charset)
String string
java.nio.charset.Charset charset
public okio.Buffer writeString (java.lang.String, int, int, java.nio.charset.Charset)
String string
int beginIndex
int endIndex
java.nio.charset.Charset charset
byte[] data
public okio.Buffer write (byte[])
byte[] source
public okio.Buffer write (byte[], int, int)
okio.Segment tail
int toCopy
byte[] source
int offset
int byteCount
int limit
public long writeAll (okio.Source) throws java.io.IOException
long readCount
okio.Source source
long totalBytesRead
public okio.BufferedSink write (okio.Source, long) throws java.io.IOException
long read
okio.Source source
long byteCount
public okio.Buffer writeByte (int)
int b
okio.Segment tail
public okio.Buffer writeShort (int)
int s
okio.Segment tail
byte[] data
int limit
public okio.Buffer writeShortLe (int)
int s
public okio.Buffer writeInt (int)
int i
okio.Segment tail
byte[] data
int limit
public okio.Buffer writeIntLe (int)
int i
public okio.Buffer writeLong (long)
long v
okio.Segment tail
byte[] data
int limit
public okio.Buffer writeLongLe (long)
long v
public okio.Buffer writeDecimalLong (long)
int digit
long v
boolean negative
int width
okio.Segment tail
byte[] data
int pos
public okio.Buffer writeHexadecimalUnsignedLong (long)
int pos
int start
long v
int width
okio.Segment tail
byte[] data
okio.Segment writableSegment (int)
int minimumCapacity
okio.Segment tail
public void write (okio.Buffer, long)
okio.Segment tail
okio.Segment tail
okio.Segment segmentToMove
long movedByteCount
okio.Buffer source
long byteCount
public long read (okio.Buffer, long)
okio.Buffer sink
long byteCount
public long indexOf (byte)
byte b
public long indexOf (byte, long)
int pos
int limit
byte[] data
int segmentByteCount
byte b
long fromIndex
okio.Segment s
long offset
public long indexOf (okio.ByteString) throws java.io.IOException
okio.ByteString bytes
public long indexOf (okio.ByteString, long) throws java.io.IOException
okio.ByteString bytes
long fromIndex
public long indexOfElement (okio.ByteString)
okio.ByteString targetBytes
public long indexOfElement (okio.ByteString, long)
byte targetByte
byte b
long pos
long limit
byte[] data
int segmentByteCount
okio.ByteString targetBytes
long fromIndex
okio.Segment s
long offset
byte[] toFind
boolean rangeEquals (long, okio.ByteString)
int i
long offset
okio.ByteString bytes
int byteCount
public void flush ()
public void close ()
public okio.Timeout timeout ()
java.util.List segmentSizes ()
okio.Segment s
java.util.List result
public boolean equals (java.lang.Object)
int i
long pos
long count
Object o
okio.Buffer that
okio.Segment sa
okio.Segment sb
int posA
int posB
public int hashCode ()
int pos
int limit
okio.Segment s
int result
public java.lang.String toString ()
okio.ByteString data
okio.Segment s
java.security.MessageDigest md5
java.security.NoSuchAlgorithmException e
public okio.Buffer clone ()
okio.Segment s
okio.Buffer result
public okio.ByteString snapshot ()
public okio.ByteString snapshot (int)
int byteCount
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
public volatile okio.BufferedSink emitCompleteSegments () throws java.io.IOException
public volatile okio.BufferedSink writeHexadecimalUnsignedLong (long) throws java.io.IOException
public volatile okio.BufferedSink writeDecimalLong (long) throws java.io.IOException
public volatile okio.BufferedSink writeLongLe (long) throws java.io.IOException
public volatile okio.BufferedSink writeLong (long) throws java.io.IOException
public volatile okio.BufferedSink writeIntLe (int) throws java.io.IOException
public volatile okio.BufferedSink writeInt (int) throws java.io.IOException
public volatile okio.BufferedSink writeShortLe (int) throws java.io.IOException
public volatile okio.BufferedSink writeShort (int) throws java.io.IOException
public volatile okio.BufferedSink writeByte (int) throws java.io.IOException
public volatile okio.BufferedSink writeString (java.lang.String, int, int, java.nio.charset.Charset) throws java.io.IOException
public volatile okio.BufferedSink writeString (java.lang.String, java.nio.charset.Charset) throws java.io.IOException
public volatile okio.BufferedSink writeUtf8CodePoint (int) throws java.io.IOException
public volatile okio.BufferedSink writeUtf8 (java.lang.String, int, int) throws java.io.IOException
public volatile okio.BufferedSink writeUtf8 (java.lang.String) throws java.io.IOException
public volatile okio.BufferedSink write (byte[], int, int) throws java.io.IOException
public volatile okio.BufferedSink write (byte[]) throws java.io.IOException
public volatile okio.BufferedSink write (okio.ByteString) throws java.io.IOException
static void ()
}
okio/BufferedSink.classBufferedSink.java
package okio
public abstract okio.BufferedSink extends java.lang.Object implements okio.Sink {
public abstract okio.Buffer buffer ()
public abstract okio.BufferedSink write (okio.ByteString) throws java.io.IOException
public abstract okio.BufferedSink write (byte[]) throws java.io.IOException
public abstract okio.BufferedSink write (byte[], int, int) throws java.io.IOException
public abstract long writeAll (okio.Source) throws java.io.IOException
public abstract okio.BufferedSink write (okio.Source, long) throws java.io.IOException
public abstract okio.BufferedSink writeUtf8 (java.lang.String) throws java.io.IOException
public abstract okio.BufferedSink writeUtf8 (java.lang.String, int, int) throws java.io.IOException
public abstract okio.BufferedSink writeUtf8CodePoint (int) throws java.io.IOException
public abstract okio.BufferedSink writeString (java.lang.String, java.nio.charset.Charset) throws java.io.IOException
public abstract okio.BufferedSink writeString (java.lang.String, int, int, java.nio.charset.Charset) throws java.io.IOException
public abstract okio.BufferedSink writeByte (int) throws java.io.IOException
public abstract okio.BufferedSink writeShort (int) throws java.io.IOException
public abstract okio.BufferedSink writeShortLe (int) throws java.io.IOException
public abstract okio.BufferedSink writeInt (int) throws java.io.IOException
public abstract okio.BufferedSink writeIntLe (int) throws java.io.IOException
public abstract okio.BufferedSink writeLong (long) throws java.io.IOException
public abstract okio.BufferedSink writeLongLe (long) throws java.io.IOException
public abstract okio.BufferedSink writeDecimalLong (long) throws java.io.IOException
public abstract okio.BufferedSink writeHexadecimalUnsignedLong (long) throws java.io.IOException
public abstract okio.BufferedSink emitCompleteSegments () throws java.io.IOException
public abstract okio.BufferedSink emit () throws java.io.IOException
public abstract java.io.OutputStream outputStream ()
}
okio/BufferedSource.classBufferedSource.java
package okio
public abstract okio.BufferedSource extends java.lang.Object implements okio.Source {
public abstract okio.Buffer buffer ()
public abstract boolean exhausted () throws java.io.IOException
public abstract void require (long) throws java.io.IOException
public abstract boolean request (long) throws java.io.IOException
public abstract byte readByte () throws java.io.IOException
public abstract short readShort () throws java.io.IOException
public abstract short readShortLe () throws java.io.IOException
public abstract int readInt () throws java.io.IOException
public abstract int readIntLe () throws java.io.IOException
public abstract long readLong () throws java.io.IOException
public abstract long readLongLe () throws java.io.IOException
public abstract long readDecimalLong () throws java.io.IOException
public abstract long readHexadecimalUnsignedLong () throws java.io.IOException
public abstract void skip (long) throws java.io.IOException
public abstract okio.ByteString readByteString () throws java.io.IOException
public abstract okio.ByteString readByteString (long) throws java.io.IOException
public abstract byte[] readByteArray () throws java.io.IOException
public abstract byte[] readByteArray (long) throws java.io.IOException
public abstract int read (byte[]) throws java.io.IOException
public abstract void readFully (byte[]) throws java.io.IOException
public abstract int read (byte[], int, int) throws java.io.IOException
public abstract void readFully (okio.Buffer, long) throws java.io.IOException
public abstract long readAll (okio.Sink) throws java.io.IOException
public abstract java.lang.String readUtf8 () throws java.io.IOException
public abstract java.lang.String readUtf8 (long) throws java.io.IOException
public abstract java.lang.String readUtf8Line () throws java.io.IOException
public abstract java.lang.String readUtf8LineStrict () throws java.io.IOException
public abstract int readUtf8CodePoint () throws java.io.IOException
public abstract java.lang.String readString (java.nio.charset.Charset) throws java.io.IOException
public abstract java.lang.String readString (long, java.nio.charset.Charset) throws java.io.IOException
public abstract long indexOf (byte) throws java.io.IOException
public abstract long indexOf (byte, long) throws java.io.IOException
public abstract long indexOf (okio.ByteString) throws java.io.IOException
public abstract long indexOf (okio.ByteString, long) throws java.io.IOException
public abstract long indexOfElement (okio.ByteString) throws java.io.IOException
public abstract long indexOfElement (okio.ByteString, long) throws java.io.IOException
public abstract java.io.InputStream inputStream ()
}
okio/ByteString.classByteString.java
package okio
public okio.ByteString extends java.lang.Object implements java.io.Serializable java.lang.Comparable {
static final char[] HEX_DIGITS
private static final long serialVersionUID
public static final okio.ByteString EMPTY
final byte[] data
transient int hashCode
transient String utf8
void (byte[])
byte[] data
public static transient okio.ByteString of (byte[])
byte[] data
public static okio.ByteString of (byte[], int, int)
byte[] data
int offset
int byteCount
byte[] copy
public static okio.ByteString encodeUtf8 (java.lang.String)
String s
okio.ByteString byteString
public java.lang.String utf8 ()
String result
public java.lang.String base64 ()
public okio.ByteString md5 ()
public okio.ByteString sha256 ()
private okio.ByteString digest (java.lang.String)
java.security.NoSuchAlgorithmException e
String digest
public java.lang.String base64Url ()
public static okio.ByteString decodeBase64 (java.lang.String)
String base64
byte[] decoded
public java.lang.String hex ()
byte b
char[] result
int c
public static okio.ByteString decodeHex (java.lang.String)
int d1
int d2
int i
String hex
byte[] result
private static int decodeHexDigit (char)
char c
public static okio.ByteString read (java.io.InputStream, int) throws java.io.IOException
int offset
int read
java.io.InputStream in
int byteCount
byte[] result
public okio.ByteString toAsciiLowercase ()
byte c
byte[] lowercase
int i
public okio.ByteString toAsciiUppercase ()
byte c
byte[] lowercase
int i
public okio.ByteString substring (int)
int beginIndex
public okio.ByteString substring (int, int)
int beginIndex
int endIndex
int subLen
byte[] copy
public byte getByte (int)
int pos
public int size ()
public byte[] toByteArray ()
public void write (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
void write (okio.Buffer)
okio.Buffer buffer
public boolean rangeEquals (int, okio.ByteString, int, int)
int offset
okio.ByteString other
int otherOffset
int byteCount
public boolean rangeEquals (int, byte[], int, int)
int offset
byte[] other
int otherOffset
int byteCount
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
int result
public int compareTo (okio.ByteString)
int byteA
int byteB
int i
int size
okio.ByteString byteString
int sizeA
int sizeB
public java.lang.String toString ()
private void readObject (java.io.ObjectInputStream) throws java.io.IOException
java.lang.reflect.Field field
NoSuchFieldException e
IllegalAccessException e
java.io.ObjectInputStream in
int dataLength
okio.ByteString byteString
private void writeObject (java.io.ObjectOutputStream) throws java.io.IOException
java.io.ObjectOutputStream out
public volatile int compareTo (java.lang.Object)
static void ()
}
okio/DeflaterSink.classDeflaterSink.java
package okio
public final okio.DeflaterSink extends java.lang.Object implements okio.Sink {
private final okio.BufferedSink sink
private final java.util.zip.Deflater deflater
private boolean closed
public void (okio.Sink, java.util.zip.Deflater)
okio.Sink sink
java.util.zip.Deflater deflater
void (okio.BufferedSink, java.util.zip.Deflater)
okio.BufferedSink sink
java.util.zip.Deflater deflater
public void write (okio.Buffer, long) throws java.io.IOException
okio.Segment head
int toDeflate
okio.Buffer source
long byteCount
private void deflate (boolean) throws java.io.IOException
okio.Segment s
int deflated
boolean syncFlush
okio.Buffer buffer
public void flush () throws java.io.IOException
void finishDeflate () throws java.io.IOException
public void close () throws java.io.IOException
Throwable e
Throwable e
Throwable e
Throwable thrown
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/ForwardingSink.classForwardingSink.java
package okio
public abstract okio.ForwardingSink extends java.lang.Object implements okio.Sink {
private final okio.Sink delegate
public void (okio.Sink)
okio.Sink delegate
public final okio.Sink delegate ()
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public okio.Timeout timeout ()
public void close () throws java.io.IOException
public java.lang.String toString ()
}
okio/ForwardingSource.classForwardingSource.java
package okio
public abstract okio.ForwardingSource extends java.lang.Object implements okio.Source {
private final okio.Source delegate
public void (okio.Source)
okio.Source delegate
public final okio.Source delegate ()
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
public okio.Timeout timeout ()
public void close () throws java.io.IOException
public java.lang.String toString ()
}
okio/ForwardingTimeout.classForwardingTimeout.java
package okio
public okio.ForwardingTimeout extends okio.Timeout {
private okio.Timeout delegate
public void (okio.Timeout)
okio.Timeout delegate
public final okio.Timeout delegate ()
public final okio.ForwardingTimeout setDelegate (okio.Timeout)
okio.Timeout delegate
public okio.Timeout timeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
public long timeoutNanos ()
public boolean hasDeadline ()
public long deadlineNanoTime ()
public okio.Timeout deadlineNanoTime (long)
long deadlineNanoTime
public okio.Timeout clearTimeout ()
public okio.Timeout clearDeadline ()
public void throwIfReached () throws java.io.IOException
}
okio/GzipSink.classGzipSink.java
package okio
public final okio.GzipSink extends java.lang.Object implements okio.Sink {
private final okio.BufferedSink sink
private final java.util.zip.Deflater deflater
private final okio.DeflaterSink deflaterSink
private boolean closed
private final java.util.zip.CRC32 crc
public void (okio.Sink)
okio.Sink sink
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public okio.Timeout timeout ()
public void close () throws java.io.IOException
Throwable e
Throwable e
Throwable e
Throwable thrown
private void writeHeader ()
okio.Buffer buffer
private void writeFooter () throws java.io.IOException
private void updateCrc (okio.Buffer, long)
int segmentLength
okio.Segment head
okio.Buffer buffer
long byteCount
}
okio/GzipSource.classGzipSource.java
package okio
public final okio.GzipSource extends java.lang.Object implements okio.Source {
private static final byte FHCRC
private static final byte FEXTRA
private static final byte FNAME
private static final byte FCOMMENT
private static final byte SECTION_HEADER
private static final byte SECTION_BODY
private static final byte SECTION_TRAILER
private static final byte SECTION_DONE
private int section
private final okio.BufferedSource source
private final java.util.zip.Inflater inflater
private final okio.InflaterSource inflaterSource
private final java.util.zip.CRC32 crc
public void (okio.Source)
okio.Source source
public long read (okio.Buffer, long) throws java.io.IOException
long offset
long result
okio.Buffer sink
long byteCount
private void consumeHeader () throws java.io.IOException
int xlen
long index
long index
byte flags
boolean fhcrc
short id1id2
private void consumeTrailer () throws java.io.IOException
public okio.Timeout timeout ()
public void close () throws java.io.IOException
private void updateCrc (okio.Buffer, long, long)
int pos
int toUpdate
okio.Buffer buffer
long offset
long byteCount
okio.Segment s
private void checkEqual (java.lang.String, int, int) throws java.io.IOException
String name
int expected
int actual
}
okio/InflaterSource.classInflaterSource.java
package okio
public final okio.InflaterSource extends java.lang.Object implements okio.Source {
private final okio.BufferedSource source
private final java.util.zip.Inflater inflater
private int bufferBytesHeldByInflater
private boolean closed
public void (okio.Source, java.util.zip.Inflater)
okio.Source source
java.util.zip.Inflater inflater
void (okio.BufferedSource, java.util.zip.Inflater)
okio.BufferedSource source
java.util.zip.Inflater inflater
public long read (okio.Buffer, long) throws java.io.IOException
okio.Segment tail
int bytesInflated
java.util.zip.DataFormatException e
boolean sourceExhausted
okio.Buffer sink
long byteCount
public boolean refill () throws java.io.IOException
okio.Segment head
private void releaseInflatedBytes () throws java.io.IOException
int toRelease
public okio.Timeout timeout ()
public void close () throws java.io.IOException
}
okio/Okio$1.classOkio.java
package okio
final okio.Okio$1 extends java.lang.Object implements okio.Sink {
final okio.Timeout val$timeout
final java.io.OutputStream val$out
void (okio.Timeout, java.io.OutputStream)
public void write (okio.Buffer, long) throws java.io.IOException
okio.Segment head
int toCopy
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/Okio$2.classOkio.java
package okio
final okio.Okio$2 extends java.lang.Object implements okio.Source {
final okio.Timeout val$timeout
final java.io.InputStream val$in
void (okio.Timeout, java.io.InputStream)
public long read (okio.Buffer, long) throws java.io.IOException
okio.Buffer sink
long byteCount
okio.Segment tail
int maxToCopy
int bytesRead
public void close () throws java.io.IOException
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/Okio$3.classOkio.java
package okio
final okio.Okio$3 extends okio.AsyncTimeout {
final java.net.Socket val$socket
void (java.net.Socket)
protected java.io.IOException newTimeoutException (java.io.IOException)
java.io.IOException cause
java.io.InterruptedIOException ioe
protected void timedOut ()
Exception e
AssertionError e
}
okio/Okio.classOkio.java
package okio
public final okio.Okio extends java.lang.Object {
private static final java.util.logging.Logger logger
private void ()
public static okio.BufferedSource buffer (okio.Source)
okio.Source source
public static okio.BufferedSink buffer (okio.Sink)
okio.Sink sink
public static okio.Sink sink (java.io.OutputStream)
java.io.OutputStream out
private static okio.Sink sink (java.io.OutputStream, okio.Timeout)
java.io.OutputStream out
okio.Timeout timeout
public static okio.Sink sink (java.net.Socket) throws java.io.IOException
java.net.Socket socket
okio.AsyncTimeout timeout
okio.Sink sink
public static okio.Source source (java.io.InputStream)
java.io.InputStream in
private static okio.Source source (java.io.InputStream, okio.Timeout)
java.io.InputStream in
okio.Timeout timeout
public static okio.Source source (java.io.File) throws java.io.FileNotFoundException
java.io.File file
public static transient okio.Source source (java.nio.file.Path, java.nio.file.OpenOption[]) throws java.io.IOException
java.nio.file.Path path
java.nio.file.OpenOption[] options
public static okio.Sink sink (java.io.File) throws java.io.FileNotFoundException
java.io.File file
public static okio.Sink appendingSink (java.io.File) throws java.io.FileNotFoundException
java.io.File file
public static transient okio.Sink sink (java.nio.file.Path, java.nio.file.OpenOption[]) throws java.io.IOException
java.nio.file.Path path
java.nio.file.OpenOption[] options
public static okio.Source source (java.net.Socket) throws java.io.IOException
java.net.Socket socket
okio.AsyncTimeout timeout
okio.Source source
private static okio.AsyncTimeout timeout (java.net.Socket)
java.net.Socket socket
static java.util.logging.Logger access$000 ()
static void ()
}
okio/RealBufferedSink$1.classRealBufferedSink.java
package okio
okio.RealBufferedSink$1 extends java.io.OutputStream {
final okio.RealBufferedSink this$0
void (okio.RealBufferedSink)
okio.RealBufferedSink this$0
public void write (int) throws java.io.IOException
int b
public void write (byte[], int, int) throws java.io.IOException
byte[] data
int offset
int byteCount
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
public java.lang.String toString ()
}
okio/RealBufferedSink.classRealBufferedSink.java
package okio
final okio.RealBufferedSink extends java.lang.Object implements okio.BufferedSink {
public final okio.Buffer buffer
public final okio.Sink sink
private boolean closed
public void (okio.Sink, okio.Buffer)
okio.Sink sink
okio.Buffer buffer
public void (okio.Sink)
okio.Sink sink
public okio.Buffer buffer ()
public void write (okio.Buffer, long) throws java.io.IOException
okio.Buffer source
long byteCount
public okio.BufferedSink write (okio.ByteString) throws java.io.IOException
okio.ByteString byteString
public okio.BufferedSink writeUtf8 (java.lang.String) throws java.io.IOException
String string
public okio.BufferedSink writeUtf8 (java.lang.String, int, int) throws java.io.IOException
String string
int beginIndex
int endIndex
public okio.BufferedSink writeUtf8CodePoint (int) throws java.io.IOException
int codePoint
public okio.BufferedSink writeString (java.lang.String, java.nio.charset.Charset) throws java.io.IOException
String string
java.nio.charset.Charset charset
public okio.BufferedSink writeString (java.lang.String, int, int, java.nio.charset.Charset) throws java.io.IOException
String string
int beginIndex
int endIndex
java.nio.charset.Charset charset
public okio.BufferedSink write (byte[]) throws java.io.IOException
byte[] source
public okio.BufferedSink write (byte[], int, int) throws java.io.IOException
byte[] source
int offset
int byteCount
public long writeAll (okio.Source) throws java.io.IOException
long readCount
okio.Source source
long totalBytesRead
public okio.BufferedSink write (okio.Source, long) throws java.io.IOException
long read
okio.Source source
long byteCount
public okio.BufferedSink writeByte (int) throws java.io.IOException
int b
public okio.BufferedSink writeShort (int) throws java.io.IOException
int s
public okio.BufferedSink writeShortLe (int) throws java.io.IOException
int s
public okio.BufferedSink writeInt (int) throws java.io.IOException
int i
public okio.BufferedSink writeIntLe (int) throws java.io.IOException
int i
public okio.BufferedSink writeLong (long) throws java.io.IOException
long v
public okio.BufferedSink writeLongLe (long) throws java.io.IOException
long v
public okio.BufferedSink writeDecimalLong (long) throws java.io.IOException
long v
public okio.BufferedSink writeHexadecimalUnsignedLong (long) throws java.io.IOException
long v
public okio.BufferedSink emitCompleteSegments () throws java.io.IOException
long byteCount
public okio.BufferedSink emit () throws java.io.IOException
long byteCount
public java.io.OutputStream outputStream ()
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
Throwable e
Throwable e
Throwable thrown
public okio.Timeout timeout ()
public java.lang.String toString ()
static boolean access$000 (okio.RealBufferedSink)
okio.RealBufferedSink x0
}
okio/RealBufferedSource$1.classRealBufferedSource.java
package okio
okio.RealBufferedSource$1 extends java.io.InputStream {
final okio.RealBufferedSource this$0
void (okio.RealBufferedSource)
okio.RealBufferedSource this$0
public int read () throws java.io.IOException
long count
public int read (byte[], int, int) throws java.io.IOException
long count
byte[] data
int offset
int byteCount
public int available () throws java.io.IOException
public void close () throws java.io.IOException
public java.lang.String toString ()
}
okio/RealBufferedSource.classRealBufferedSource.java
package okio
final okio.RealBufferedSource extends java.lang.Object implements okio.BufferedSource {
public final okio.Buffer buffer
public final okio.Source source
private boolean closed
public void (okio.Source, okio.Buffer)
okio.Source source
okio.Buffer buffer
public void (okio.Source)
okio.Source source
public okio.Buffer buffer ()
public long read (okio.Buffer, long) throws java.io.IOException
long read
okio.Buffer sink
long byteCount
long toRead
public boolean exhausted () throws java.io.IOException
public void require (long) throws java.io.IOException
long byteCount
public boolean request (long) throws java.io.IOException
long byteCount
public byte readByte () throws java.io.IOException
public okio.ByteString readByteString () throws java.io.IOException
public okio.ByteString readByteString (long) throws java.io.IOException
long byteCount
public byte[] readByteArray () throws java.io.IOException
public byte[] readByteArray (long) throws java.io.IOException
long byteCount
public int read (byte[]) throws java.io.IOException
byte[] sink
public void readFully (byte[]) throws java.io.IOException
int read
int offset
java.io.EOFException e
byte[] sink
public int read (byte[], int, int) throws java.io.IOException
long read
byte[] sink
int offset
int byteCount
int toRead
public void readFully (okio.Buffer, long) throws java.io.IOException
java.io.EOFException e
okio.Buffer sink
long byteCount
public long readAll (okio.Sink) throws java.io.IOException
long emitByteCount
okio.Sink sink
long totalBytesWritten
public java.lang.String readUtf8 () throws java.io.IOException
public java.lang.String readUtf8 (long) throws java.io.IOException
long byteCount
public java.lang.String readString (java.nio.charset.Charset) throws java.io.IOException
java.nio.charset.Charset charset
public java.lang.String readString (long, java.nio.charset.Charset) throws java.io.IOException
long byteCount
java.nio.charset.Charset charset
public java.lang.String readUtf8Line () throws java.io.IOException
long newline
public java.lang.String readUtf8LineStrict () throws java.io.IOException
okio.Buffer data
long newline
public int readUtf8CodePoint () throws java.io.IOException
byte b0
public short readShort () throws java.io.IOException
public short readShortLe () throws java.io.IOException
public int readInt () throws java.io.IOException
public int readIntLe () throws java.io.IOException
public long readLong () throws java.io.IOException
public long readLongLe () throws java.io.IOException
public long readDecimalLong () throws java.io.IOException
byte b
int pos
public long readHexadecimalUnsignedLong () throws java.io.IOException
byte b
int pos
public void skip (long) throws java.io.IOException
long toSkip
long byteCount
public long indexOf (byte) throws java.io.IOException
byte b
public long indexOf (byte, long) throws java.io.IOException
byte b
long fromIndex
long index
public long indexOf (okio.ByteString) throws java.io.IOException
okio.ByteString bytes
public long indexOf (okio.ByteString, long) throws java.io.IOException
okio.ByteString bytes
long fromIndex
public long indexOfElement (okio.ByteString) throws java.io.IOException
okio.ByteString targetBytes
public long indexOfElement (okio.ByteString, long) throws java.io.IOException
okio.ByteString targetBytes
long fromIndex
long index
private boolean rangeEquals (long, okio.ByteString) throws java.io.IOException
long offset
okio.ByteString bytes
public java.io.InputStream inputStream ()
public void close () throws java.io.IOException
public okio.Timeout timeout ()
public java.lang.String toString ()
static boolean access$000 (okio.RealBufferedSource)
okio.RealBufferedSource x0
}
okio/Segment.classSegment.java
package okio
final okio.Segment extends java.lang.Object {
static final int SIZE
final byte[] data
int pos
int limit
boolean shared
boolean owner
okio.Segment next
okio.Segment prev
void ()
void (okio.Segment)
okio.Segment shareFrom
void (byte[], int, int)
byte[] data
int pos
int limit
public okio.Segment pop ()
okio.Segment result
public okio.Segment push (okio.Segment)
okio.Segment segment
public okio.Segment split (int)
int byteCount
okio.Segment prefix
public void compact ()
int byteCount
int availableByteCount
public void writeTo (okio.Segment, int)
okio.Segment sink
int byteCount
}
okio/SegmentedByteString.classSegmentedByteString.java
package okio
final okio.SegmentedByteString extends okio.ByteString {
final transient byte[][] segments
final transient int[] directory
void (okio.Buffer, int)
okio.Segment s
okio.Segment s
okio.Buffer buffer
int byteCount
int offset
int segmentCount
public java.lang.String utf8 ()
public java.lang.String base64 ()
public java.lang.String hex ()
public okio.ByteString toAsciiLowercase ()
public okio.ByteString toAsciiUppercase ()
public okio.ByteString md5 ()
public okio.ByteString sha256 ()
public java.lang.String base64Url ()
public okio.ByteString substring (int)
int beginIndex
public okio.ByteString substring (int, int)
int beginIndex
int endIndex
public byte getByte (int)
int pos
int segment
int segmentOffset
int segmentPos
private int segment (int)
int pos
int i
public int size ()
public byte[] toByteArray ()
int segmentPos
int nextSegmentOffset
int s
int segmentCount
byte[] result
int segmentOffset
public void write (java.io.OutputStream) throws java.io.IOException
int segmentPos
int nextSegmentOffset
int s
int segmentCount
java.io.OutputStream out
int segmentOffset
void write (okio.Buffer)
int segmentPos
int nextSegmentOffset
okio.Segment segment
int s
int segmentCount
okio.Buffer buffer
int segmentOffset
public boolean rangeEquals (int, okio.ByteString, int, int)
int segmentOffset
int segmentSize
int stepSize
int segmentPos
int arrayOffset
int s
int offset
okio.ByteString other
int otherOffset
int byteCount
public boolean rangeEquals (int, byte[], int, int)
int segmentOffset
int segmentSize
int stepSize
int segmentPos
int arrayOffset
int s
int offset
byte[] other
int otherOffset
int byteCount
private okio.ByteString toByteString ()
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
int i
int limit
byte[] segment
int segmentPos
int nextSegmentOffset
int segmentSize
int s
int segmentCount
int result
int segmentOffset
public java.lang.String toString ()
private java.lang.Object writeReplace ()
}
okio/SegmentPool.classSegmentPool.java
package okio
final okio.SegmentPool extends java.lang.Object {
static final long MAX_SIZE
static okio.Segment next
static long byteCount
private void ()
static okio.Segment take ()
okio.Segment result
static void recycle (okio.Segment)
okio.Segment segment
}
okio/Sink.classSink.java
package okio
public abstract okio.Sink extends java.lang.Object implements java.io.Closeable java.io.Flushable {
public abstract void write (okio.Buffer, long) throws java.io.IOException
public abstract void flush () throws java.io.IOException
public abstract okio.Timeout timeout ()
public abstract void close () throws java.io.IOException
}
okio/Source.classSource.java
package okio
public abstract okio.Source extends java.lang.Object implements java.io.Closeable {
public abstract long read (okio.Buffer, long) throws java.io.IOException
public abstract okio.Timeout timeout ()
public abstract void close () throws java.io.IOException
}
okio/Timeout$1.classTimeout.java
package okio
final okio.Timeout$1 extends okio.Timeout {
void ()
public okio.Timeout timeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
public okio.Timeout deadlineNanoTime (long)
long deadlineNanoTime
public void throwIfReached () throws java.io.IOException
}
okio/Timeout.classTimeout.java
package okio
public okio.Timeout extends java.lang.Object {
public static final okio.Timeout NONE
private boolean hasDeadline
private long deadlineNanoTime
private long timeoutNanos
public void ()
public okio.Timeout timeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit unit
public long timeoutNanos ()
public boolean hasDeadline ()
public long deadlineNanoTime ()
public okio.Timeout deadlineNanoTime (long)
long deadlineNanoTime
public final okio.Timeout deadline (long, java.util.concurrent.TimeUnit)
long duration
java.util.concurrent.TimeUnit unit
public okio.Timeout clearTimeout ()
public okio.Timeout clearDeadline ()
public void throwIfReached () throws java.io.IOException
static void ()
}
okio/Util.classUtil.java
package okio
final okio.Util extends java.lang.Object {
public static final java.nio.charset.Charset UTF_8
private void ()
public static void checkOffsetAndCount (long, long, long)
long size
long offset
long byteCount
public static short reverseBytesShort (short)
short s
int i
int reversed
public static int reverseBytesInt (int)
int i
public static long reverseBytesLong (long)
long v
public static void sneakyRethrow (java.lang.Throwable)
Throwable t
private static void sneakyThrow2 (java.lang.Throwable) throws java.lang.Throwable
Throwable t
public static boolean arrayRangeEquals (byte[], int, byte[], int, int)
int i
byte[] a
int aOffset
byte[] b
int bOffset
int byteCount
static void ()
}
META-INF/maven/
META-INF/maven/com.squareup.okio/
META-INF/maven/com.squareup.okio/okio/
META-INF/maven/com.squareup.okio/okio/pom.xml
META-INF/maven/com.squareup.okio/okio/pom.properties