META-INF/
META-INF/MANIFEST.MF
okio/
okio/AsyncTimeout$Watchdog.class
AsyncTimeout.java
package okio
final okio.AsyncTimeout$Watchdog extends java.lang.Thread {
void <init> ()
public void run ()
okio.AsyncTimeout timedOut
okio.AsyncTimeout timedOut
}
okio/Buffer.class
Buffer.java
package okio
public final okio.Buffer extends java.lang.Object implements okio.BufferedSource okio.BufferedSink java.lang.Cloneable java.nio.channels.ByteChannel {
private static final byte[] DIGITS
static final int REPLACEMENT_CHARACTER
okio.Segment head
long size
public void <init> ()
public final 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 final okio.Buffer copyTo (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
public final 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 final okio.Buffer copyTo (okio.Buffer, long, long)
okio.Segment copy
okio.Buffer out
long offset
long byteCount
okio.Segment s
public final okio.Buffer writeTo (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
public final 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 final okio.Buffer readFrom (java.io.InputStream) throws java.io.IOException
java.io.InputStream in
public final 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 final long completeSegmentByteCount ()
long result
okio.Segment tail
public byte readByte ()
okio.Segment segment
int pos
int limit
byte[] data
byte b
public final byte getByte (long)
int segmentByteCount
okio.Segment s
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 int select (okio.Options)
java.io.EOFException e
okio.Options options
int index
int selectedSize
int selectPrefix (okio.Options, boolean)
int nextStep
int b
boolean scanComplete
int scanByteCount
int trieLimit
int nextStep
int nextStep
int selectChoiceCount
int b
int selectLimit
int scanOrSelect
int possiblePrefixIndex
int nextStep
okio.Options options
boolean selectTruncated
okio.Segment head
okio.Segment s
byte[] data
int pos
int limit
int[] trie
int triePos
int prefixIndex
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
public java.lang.String readUtf8LineStrict (long) throws java.io.EOFException
long limit
long scanLength
long newline
okio.Buffer data
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 int read (java.nio.ByteBuffer) throws java.io.IOException
java.nio.ByteBuffer sink
okio.Segment s
int toCopy
public final 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 int write (java.nio.ByteBuffer) throws java.io.IOException
okio.Segment tail
int toCopy
java.nio.ByteBuffer source
int byteCount
int remaining
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)
byte b
long fromIndex
public long indexOf (byte, long, long)
long offset
long nextOffset
byte[] data
int limit
int pos
byte b
long fromIndex
long toIndex
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
long offset
long nextOffset
int pos
byte[] data
int segmentLimit
okio.ByteString bytes
long fromIndex
okio.Segment s
long offset
byte b0
int bytesSize
long resultLimit
public long indexOfElement (okio.ByteString)
okio.ByteString targetBytes
public long indexOfElement (okio.ByteString, long)
long offset
long nextOffset
int b
int pos
int limit
byte[] data
byte b0
byte b1
byte t
int b
int pos
int limit
byte[] data
byte[] targetByteArray
okio.ByteString targetBytes
long fromIndex
okio.Segment s
long offset
public boolean rangeEquals (long, okio.ByteString)
long offset
okio.ByteString bytes
public boolean rangeEquals (long, okio.ByteString, int, int)
int i
long offset
okio.ByteString bytes
int bytesOffset
int byteCount
private boolean rangeEquals (okio.Segment, int, okio.ByteString, int, int)
int i
okio.Segment segment
int segmentPos
okio.ByteString bytes
int bytesOffset
int bytesLimit
int segmentLimit
byte[] data
public void flush ()
public boolean isOpen ()
public void close ()
public okio.Timeout timeout ()
java.util.List segmentSizes ()
okio.Segment s
java.util.List result
public final okio.ByteString md5 ()
public final okio.ByteString sha1 ()
public final okio.ByteString sha256 ()
public final okio.ByteString sha512 ()
private okio.ByteString digest (java.lang.String)
okio.Segment s
java.security.MessageDigest messageDigest
java.security.NoSuchAlgorithmException e
String algorithm
public final okio.ByteString hmacSha1 (okio.ByteString)
okio.ByteString key
public final okio.ByteString hmacSha256 (okio.ByteString)
okio.ByteString key
public final okio.ByteString hmacSha512 (okio.ByteString)
okio.ByteString key
private okio.ByteString hmac (java.lang.String, okio.ByteString)
okio.Segment s
javax.crypto.Mac mac
java.security.NoSuchAlgorithmException e
java.security.InvalidKeyException e
String algorithm
okio.ByteString key
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 ()
public okio.Buffer clone ()
okio.Segment s
okio.Buffer result
public final okio.ByteString snapshot ()
public final okio.ByteString snapshot (int)
int byteCount
public final okio.Buffer$UnsafeCursor readUnsafe ()
public final okio.Buffer$UnsafeCursor readUnsafe (okio.Buffer$UnsafeCursor)
okio.Buffer$UnsafeCursor unsafeCursor
public final okio.Buffer$UnsafeCursor readAndWriteUnsafe ()
public final okio.Buffer$UnsafeCursor readAndWriteUnsafe (okio.Buffer$UnsafeCursor)
okio.Buffer$UnsafeCursor unsafeCursor
public volatile synthetic java.lang.Object clone () throws java.lang.CloneNotSupportedException
public volatile synthetic okio.BufferedSink emitCompleteSegments () throws java.io.IOException
public volatile synthetic okio.BufferedSink writeHexadecimalUnsignedLong (long) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeDecimalLong (long) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeLongLe (long) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeLong (long) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeIntLe (int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeInt (int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeShortLe (int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeShort (int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeByte (int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeString (java.lang.String, int, int, java.nio.charset.Charset) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeString (java.lang.String, java.nio.charset.Charset) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeUtf8CodePoint (int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeUtf8 (java.lang.String, int, int) throws java.io.IOException
public volatile synthetic okio.BufferedSink writeUtf8 (java.lang.String) throws java.io.IOException
public volatile synthetic okio.BufferedSink write (byte[], int, int) throws java.io.IOException
public volatile synthetic okio.BufferedSink write (byte[]) throws java.io.IOException
public volatile synthetic okio.BufferedSink write (okio.ByteString) throws java.io.IOException
static void <clinit> ()
}
okio/Timeout.class
Timeout.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 <init> ()
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
public final void waitUntilNotified (java.lang.Object) throws java.io.InterruptedIOException
long deadlineNanos
long waitNanos
long waitNanos
long waitMillis
boolean hasDeadline
long timeoutNanos
long waitNanos
long start
long elapsedNanos
InterruptedException e
Object monitor
static void <clinit> ()
}
okio/Source.class
Source.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/SegmentedByteString.class
SegmentedByteString.java
package okio
final okio.SegmentedByteString extends okio.ByteString {
final transient byte[][] segments
final transient int[] directory
void <init> (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 string (java.nio.charset.Charset)
java.nio.charset.Charset charset
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 sha1 ()
public okio.ByteString sha256 ()
public okio.ByteString hmacSha1 (okio.ByteString)
okio.ByteString key
public okio.ByteString hmacSha256 (okio.ByteString)
okio.ByteString key
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 java.nio.ByteBuffer asByteBuffer ()
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
public int indexOf (byte[], int)
byte[] other
int fromIndex
public int lastIndexOf (byte[], int)
byte[] other
int fromIndex
private okio.ByteString toByteString ()
byte[] internalArray ()
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/Okio$2.class
Okio.java
package okio
final okio.Okio$2 extends java.lang.Object implements okio.Source {
final synthetic okio.Timeout val$timeout
final synthetic java.io.InputStream val$in
void <init> (okio.Timeout, java.io.InputStream)
public long read (okio.Buffer, long) throws java.io.IOException
okio.Segment tail
int maxToCopy
int bytesRead
AssertionError e
okio.Buffer sink
long byteCount
public void close () throws java.io.IOException
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/Options.class
Options.java
package okio
public final okio.Options extends java.util.AbstractList implements java.util.RandomAccess {
final okio.ByteString[] byteStrings
final int[] trie
private void <init> (okio.ByteString[], int[])
okio.ByteString[] byteStrings
int[] trie
public static transient okio.Options of (okio.ByteString[])
int i
int sortedIndex
int i
okio.ByteString byteString
int b
okio.ByteString prefix
int a
int i
okio.ByteString[] byteStrings
java.util.List list
java.util.List indexes
okio.Buffer trieBytes
int[] trie
private static void buildTrieRecursive (long, okio.Buffer, int, java.util.List, int, int, java.util.List)
int i
int i
byte rangeByte
int i
int i
byte rangeByte
int rangeEnd
int selectChoiceCount
long childNodesOffset
okio.Buffer childNodes
int rangeStart
int i
int max
int i
okio.Buffer childNodes
int scanByteCount
long childNodesOffset
long nodeOffset
okio.Buffer node
int byteStringOffset
java.util.List byteStrings
int fromIndex
int toIndex
java.util.List indexes
okio.ByteString from
okio.ByteString to
int prefixIndex
public okio.ByteString get (int)
int i
public final int size ()
private static int intCount (okio.Buffer)
okio.Buffer trieBytes
public volatile synthetic java.lang.Object get (int)
}
okio/ForwardingTimeout.class
ForwardingTimeout.java
package okio
public okio.ForwardingTimeout extends okio.Timeout {
private okio.Timeout delegate
public void <init> (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/Okio$4.class
Okio.java
package okio
final okio.Okio$4 extends okio.AsyncTimeout {
final synthetic java.net.Socket val$socket
void <init> (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/Buffer$1.class
Buffer.java
package okio
okio.Buffer$1 extends java.io.OutputStream {
final synthetic okio.Buffer this$0
void <init> (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/Okio$3.class
Okio.java
package okio
final okio.Okio$3 extends java.lang.Object implements okio.Sink {
void <init> ()
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
}
okio/Okio$1.class
Okio.java
package okio
final okio.Okio$1 extends java.lang.Object implements okio.Sink {
final synthetic okio.Timeout val$timeout
final synthetic java.io.OutputStream val$out
void <init> (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/HashingSink.class
HashingSink.java
package okio
public final okio.HashingSink extends okio.ForwardingSink {
private final java.security.MessageDigest messageDigest
private final javax.crypto.Mac mac
public static okio.HashingSink md5 (okio.Sink)
okio.Sink sink
public static okio.HashingSink sha1 (okio.Sink)
okio.Sink sink
public static okio.HashingSink sha256 (okio.Sink)
okio.Sink sink
public static okio.HashingSink sha512 (okio.Sink)
okio.Sink sink
public static okio.HashingSink hmacSha1 (okio.Sink, okio.ByteString)
okio.Sink sink
okio.ByteString key
public static okio.HashingSink hmacSha256 (okio.Sink, okio.ByteString)
okio.Sink sink
okio.ByteString key
public static okio.HashingSink hmacSha512 (okio.Sink, okio.ByteString)
okio.Sink sink
okio.ByteString key
private void <init> (okio.Sink, java.lang.String)
java.security.NoSuchAlgorithmException e
okio.Sink sink
String algorithm
private void <init> (okio.Sink, okio.ByteString, java.lang.String)
java.security.NoSuchAlgorithmException e
java.security.InvalidKeyException e
okio.Sink sink
okio.ByteString key
String algorithm
public void write (okio.Buffer, long) throws java.io.IOException
int toHash
okio.Segment s
okio.Buffer source
long byteCount
long hashedCount
public final okio.ByteString hash ()
byte[] result
}
okio/Pipe$PipeSource.class
Pipe.java
package okio
final okio.Pipe$PipeSource extends java.lang.Object implements okio.Source {
final okio.Timeout timeout
final synthetic okio.Pipe this$0
void <init> (okio.Pipe)
okio.Pipe this$0
public long read (okio.Buffer, long) throws java.io.IOException
long result
okio.Buffer sink
long byteCount
public void close () throws java.io.IOException
public okio.Timeout timeout ()
}
okio/RealBufferedSource$1.class
RealBufferedSource.java
package okio
okio.RealBufferedSource$1 extends java.io.InputStream {
final synthetic okio.RealBufferedSource this$0
void <init> (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/Okio.class
Okio.java
package okio
public final okio.Okio extends java.lang.Object {
static final java.util.logging.Logger logger
private void <init> ()
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.Sink blackhole ()
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 boolean isAndroidGetsocknameError (java.lang.AssertionError)
AssertionError e
static void <clinit> ()
}
okio/Segment.class
Segment.java
package okio
final okio.Segment extends java.lang.Object {
static final int SIZE
static final int SHARE_MINIMUM
final byte[] data
int pos
int limit
boolean shared
boolean owner
okio.Segment next
okio.Segment prev
void <init> ()
void <init> (byte[], int, int, boolean, boolean)
byte[] data
int pos
int limit
boolean shared
boolean owner
final okio.Segment sharedCopy ()
final okio.Segment unsharedCopy ()
public final okio.Segment pop ()
okio.Segment result
public final okio.Segment push (okio.Segment)
okio.Segment segment
public final okio.Segment split (int)
okio.Segment prefix
int byteCount
okio.Segment prefix
public final void compact ()
int byteCount
int availableByteCount
public final void writeTo (okio.Segment, int)
okio.Segment sink
int byteCount
}
okio/HashingSource.class
HashingSource.java
package okio
public final okio.HashingSource extends okio.ForwardingSource {
private final java.security.MessageDigest messageDigest
private final javax.crypto.Mac mac
public static okio.HashingSource md5 (okio.Source)
okio.Source source
public static okio.HashingSource sha1 (okio.Source)
okio.Source source
public static okio.HashingSource sha256 (okio.Source)
okio.Source source
public static okio.HashingSource hmacSha1 (okio.Source, okio.ByteString)
okio.Source source
okio.ByteString key
public static okio.HashingSource hmacSha256 (okio.Source, okio.ByteString)
okio.Source source
okio.ByteString key
private void <init> (okio.Source, java.lang.String)
java.security.NoSuchAlgorithmException e
okio.Source source
String algorithm
private void <init> (okio.Source, okio.ByteString, java.lang.String)
java.security.NoSuchAlgorithmException e
java.security.InvalidKeyException e
okio.Source source
okio.ByteString key
String algorithm
public long read (okio.Buffer, long) throws java.io.IOException
int pos
long start
long offset
okio.Segment s
okio.Buffer sink
long byteCount
long result
public final okio.ByteString hash ()
byte[] result
}
okio/GzipSink.class
GzipSink.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 <init> (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
public final java.util.zip.Deflater deflater ()
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/Buffer$2.class
Buffer.java
package okio
okio.Buffer$2 extends java.io.InputStream {
final synthetic okio.Buffer this$0
void <init> (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/Pipe.class
Pipe.java
package okio
public final okio.Pipe extends java.lang.Object {
final long maxBufferSize
final okio.Buffer buffer
boolean sinkClosed
boolean sourceClosed
private final okio.Sink sink
private final okio.Source source
public void <init> (long)
long maxBufferSize
public final okio.Source source ()
public final okio.Sink sink ()
}
okio/Sink.class
Sink.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/InflaterSource.class
InflaterSource.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 <init> (okio.Source, java.util.zip.Inflater)
okio.Source source
java.util.zip.Inflater inflater
void <init> (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 toRead
int bytesInflated
java.util.zip.DataFormatException e
boolean sourceExhausted
okio.Buffer sink
long byteCount
public final 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/Util.class
Util.java
package okio
final okio.Util extends java.lang.Object {
public static final java.nio.charset.Charset UTF_8
private void <init> ()
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 <clinit> ()
}
okio/GzipSource.class
GzipSource.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 <init> (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/package-info.class
package-info.java
package okio
abstract synthetic okio.package-info extends java.lang.Object {
}
okio/AsyncTimeout$2.class
AsyncTimeout.java
package okio
okio.AsyncTimeout$2 extends java.lang.Object implements okio.Source {
final synthetic okio.Source val$source
final synthetic okio.AsyncTimeout this$0
void <init> (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/SegmentPool.class
SegmentPool.java
package okio
final okio.SegmentPool extends java.lang.Object {
static final long MAX_SIZE
static okio.Segment next
static long byteCount
private void <init> ()
static okio.Segment take ()
okio.Segment result
static void recycle (okio.Segment)
okio.Segment segment
}
okio/DeflaterSink.class
DeflaterSink.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 <init> (okio.Sink, java.util.zip.Deflater)
okio.Sink sink
java.util.zip.Deflater deflater
void <init> (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/BufferedSource.class
BufferedSource.java
package okio
public abstract okio.BufferedSource extends java.lang.Object implements okio.Source java.nio.channels.ReadableByteChannel {
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 int select (okio.Options) 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 java.lang.String readUtf8LineStrict (long) 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 (byte, long, 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 boolean rangeEquals (long, okio.ByteString) throws java.io.IOException
public abstract boolean rangeEquals (long, okio.ByteString, int, int) throws java.io.IOException
public abstract java.io.InputStream inputStream ()
}
okio/AsyncTimeout.class
AsyncTimeout.java
package okio
public okio.AsyncTimeout extends okio.Timeout {
private static final int TIMEOUT_WRITE_SIZE
private static final long IDLE_TIMEOUT_MILLIS
private static final long IDLE_TIMEOUT_NANOS
static okio.AsyncTimeout head
private boolean inQueue
private okio.AsyncTimeout next
private long timeoutAt
public void <init> ()
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
static okio.AsyncTimeout awaitTimeout () throws java.lang.InterruptedException
long startNanos
long waitMillis
okio.AsyncTimeout node
long waitNanos
static void <clinit> ()
}
okio/Base64.class
Base64.java
package okio
final okio.Base64 extends java.lang.Object {
private static final byte[] MAP
private static final byte[] URL_MAP
private void <init> ()
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 <clinit> ()
}
okio/Utf8.class
Utf8.java
package okio
public final okio.Utf8 extends java.lang.Object {
private void <init> ()
public static long size (java.lang.String)
String string
public static long size (java.lang.String, int, int)
int low
int c
int i
String string
int beginIndex
int endIndex
long result
}
okio/ForwardingSource.class
ForwardingSource.java
package okio
public abstract okio.ForwardingSource extends java.lang.Object implements okio.Source {
private final okio.Source delegate
public void <init> (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/Pipe$PipeSink.class
Pipe.java
package okio
final okio.Pipe$PipeSink extends java.lang.Object implements okio.Sink {
final okio.Timeout timeout
final synthetic okio.Pipe this$0
void <init> (okio.Pipe)
okio.Pipe this$0
public void write (okio.Buffer, long) throws java.io.IOException
long bufferSpaceAvailable
long bytesToWrite
okio.Buffer source
long byteCount
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
public okio.Timeout timeout ()
}
okio/RealBufferedSink.class
RealBufferedSink.java
package okio
final okio.RealBufferedSink extends java.lang.Object implements okio.BufferedSink {
public final okio.Buffer buffer
public final okio.Sink sink
boolean closed
void <init> (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 int write (java.nio.ByteBuffer) throws java.io.IOException
java.nio.ByteBuffer source
int result
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 boolean isOpen ()
public void close () throws java.io.IOException
Throwable e
Throwable e
Throwable thrown
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/RealBufferedSink$1.class
RealBufferedSink.java
package okio
okio.RealBufferedSink$1 extends java.io.OutputStream {
final synthetic okio.RealBufferedSink this$0
void <init> (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/AsyncTimeout$1.class
AsyncTimeout.java
package okio
okio.AsyncTimeout$1 extends java.lang.Object implements okio.Sink {
final synthetic okio.Sink val$sink
final synthetic okio.AsyncTimeout this$0
void <init> (okio.AsyncTimeout, okio.Sink)
okio.AsyncTimeout this$0
public void write (okio.Buffer, long) throws java.io.IOException
int segmentSize
okio.Segment s
java.io.IOException e
long toWrite
boolean throwOnTimeout
okio.Buffer source
long byteCount
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/Timeout$1.class
Timeout.java
package okio
final okio.Timeout$1 extends okio.Timeout {
void <init> ()
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/Buffer$UnsafeCursor.class
Buffer.java
package okio
public final okio.Buffer$UnsafeCursor extends java.lang.Object implements java.io.Closeable {
public okio.Buffer buffer
public boolean readWrite
private okio.Segment segment
public long offset
public byte[] data
public int start
public int end
public void <init> ()
public final int next ()
public final int seek (long)
long segmentOffset
okio.Segment next
long nextOffset
okio.Segment unsharedNext
long offset
long min
long max
okio.Segment head
okio.Segment tail
okio.Segment next
long nextOffset
public final long resizeBuffer (long)
okio.Segment tail
int tailSize
long bytesToSubtract
okio.Segment tail
int segmentBytesToAdd
long bytesToAdd
boolean needsToSeek
long newSize
long oldSize
public final long expandBuffer (int)
int minByteCount
long oldSize
okio.Segment tail
int result
public void close ()
}
okio/ByteString.class
ByteString.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 <init> (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 of (java.nio.ByteBuffer)
java.nio.ByteBuffer data
byte[] copy
public static okio.ByteString encodeUtf8 (java.lang.String)
String s
okio.ByteString byteString
public static okio.ByteString encodeString (java.lang.String, java.nio.charset.Charset)
String s
java.nio.charset.Charset charset
public java.lang.String utf8 ()
String result
public java.lang.String string (java.nio.charset.Charset)
java.nio.charset.Charset charset
public java.lang.String base64 ()
public okio.ByteString md5 ()
public okio.ByteString sha1 ()
public okio.ByteString sha256 ()
public okio.ByteString sha512 ()
private okio.ByteString digest (java.lang.String)
java.security.NoSuchAlgorithmException e
String algorithm
public okio.ByteString hmacSha1 (okio.ByteString)
okio.ByteString key
public okio.ByteString hmacSha256 (okio.ByteString)
okio.ByteString key
public okio.ByteString hmacSha512 (okio.ByteString)
okio.ByteString key
private okio.ByteString hmac (java.lang.String, okio.ByteString)
javax.crypto.Mac mac
java.security.NoSuchAlgorithmException e
java.security.InvalidKeyException e
String algorithm
okio.ByteString key
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 ()
byte[] internalArray ()
public java.nio.ByteBuffer asByteBuffer ()
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 final boolean startsWith (okio.ByteString)
okio.ByteString prefix
public final boolean startsWith (byte[])
byte[] prefix
public final boolean endsWith (okio.ByteString)
okio.ByteString suffix
public final boolean endsWith (byte[])
byte[] suffix
public final int indexOf (okio.ByteString)
okio.ByteString other
public final int indexOf (okio.ByteString, int)
okio.ByteString other
int fromIndex
public final int indexOf (byte[])
byte[] other
public int indexOf (byte[], int)
int i
int limit
byte[] other
int fromIndex
public final int lastIndexOf (okio.ByteString)
okio.ByteString other
public final int lastIndexOf (okio.ByteString, int)
okio.ByteString other
int fromIndex
public final int lastIndexOf (byte[])
byte[] other
public int lastIndexOf (byte[], int)
int i
byte[] other
int fromIndex
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 ()
String text
int i
String safeText
static int codePointIndexToCharIndex (java.lang.String, int)
int i
int j
int length
int c
String s
int codePointCount
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 synthetic int compareTo (java.lang.Object)
static void <clinit> ()
}
okio/ForwardingSink.class
ForwardingSink.java
package okio
public abstract okio.ForwardingSink extends java.lang.Object implements okio.Sink {
private final okio.Sink delegate
public void <init> (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/RealBufferedSource.class
RealBufferedSource.java
package okio
final okio.RealBufferedSource extends java.lang.Object implements okio.BufferedSource {
public final okio.Buffer buffer
public final okio.Source source
boolean closed
void <init> (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 int select (okio.Options) throws java.io.IOException
int selectedSize
int index
okio.Options options
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 int read (java.nio.ByteBuffer) throws java.io.IOException
long read
java.nio.ByteBuffer sink
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
public java.lang.String readUtf8LineStrict (long) throws java.io.IOException
long limit
long scanLength
long newline
okio.Buffer data
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
public long indexOf (byte, long, long) throws java.io.IOException
long result
long lastBufferSize
byte b
long fromIndex
long toIndex
public long indexOf (okio.ByteString) throws java.io.IOException
okio.ByteString bytes
public long indexOf (okio.ByteString, long) throws java.io.IOException
long result
long lastBufferSize
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
long result
long lastBufferSize
okio.ByteString targetBytes
long fromIndex
public boolean rangeEquals (long, okio.ByteString) throws java.io.IOException
long offset
okio.ByteString bytes
public boolean rangeEquals (long, okio.ByteString, int, int) throws java.io.IOException
long bufferOffset
int i
long offset
okio.ByteString bytes
int bytesOffset
int byteCount
public java.io.InputStream inputStream ()
public boolean isOpen ()
public void close () throws java.io.IOException
public okio.Timeout timeout ()
public java.lang.String toString ()
}
okio/BufferedSink.class
BufferedSink.java
package okio
public abstract okio.BufferedSink extends java.lang.Object implements okio.Sink java.nio.channels.WritableByteChannel {
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 void flush () throws java.io.IOException
public abstract okio.BufferedSink emit () throws java.io.IOException
public abstract okio.BufferedSink emitCompleteSegments () throws java.io.IOException
public abstract java.io.OutputStream outputStream ()
}
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