APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.net.http.hpack

pack-priv final Class IntegerReader

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.util.Arrays

Field Summary

Modifier and TypeField and Description
private long
b

private static final int
private static final int
private static final int
private int
private int
N

private static final int
private long
r

private int
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static void
checkPrefix(int N)

public IntegerReader
configure(int N)

public IntegerReader
configure(int N, int maxValue)

public int
get()

public boolean
public IntegerReader
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bback to summary
private long b
CONFIGUREDback to summary
private static final int CONFIGURED
DONEback to summary
private static final int DONE
FIRST_BYTE_READback to summary
private static final int FIRST_BYTE_READ
maxValueback to summary
private int maxValue
Nback to summary
private int N
NEWback to summary
private static final int NEW
rback to summary
private long r
stateback to summary
private int state
valueback to summary
private int value

Constructor Detail

IntegerReaderback to summary
pack-priv IntegerReader()

Method Detail

checkPrefixback to summary
private static void checkPrefix(int N)
configureback to summary
public IntegerReader configure(int N)
configureback to summary
public IntegerReader configure(int N, int maxValue)
getback to summary
public int get() throws IllegalStateException
readback to summary
public boolean read(ByteBuffer input) throws IOException
resetback to summary
public IntegerReader reset()