A B C D F L N R S U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- align() - Method in interface com.github.jinahya.bit.io.BitInput
-
Aligns to a single byte by discarding bits.
- align() - Method in interface com.github.jinahya.bit.io.BitOutput
-
Aligns to a single byte by padding zero bits.
- align(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Aligns to specified number of bytes by discarding bits.
- align(int) - Method in class com.github.jinahya.bit.io.BitInputAdapter
- align(int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Aligns to specified number of bytes by padding zero bits.
- align(int) - Method in class com.github.jinahya.bit.io.BitOutputAdapter
- ascii(int) - Static method in class com.github.jinahya.bit.io.StringAdapter
-
Creates a new instance for reading/writing
US-ASCII
strings.
B
- BitInput - Interface in com.github.jinahya.bit.io
-
An interface for reading values of an arbitrary number of bits.
- BitInputAdapter - Class in com.github.jinahya.bit.io
- BitInputAdapter(Supplier<? extends ByteInput>) - Constructor for class com.github.jinahya.bit.io.BitInputAdapter
-
Creates a new instance with specified input supplier.
- BitOutput - Interface in com.github.jinahya.bit.io
-
An interface for writing values of an arbitrary number of bits.
- BitOutputAdapter - Class in com.github.jinahya.bit.io
-
An implementation of
BitOutput
adapts an instance ofByteOutput
. - BitOutputAdapter(Supplier<? extends ByteOutput>) - Constructor for class com.github.jinahya.bit.io.BitOutputAdapter
-
Creates a new instance with specified output supplier.
- BufferByteInput - Class in com.github.jinahya.bit.io
-
A byte input reads bytes from a
ByteBuffer
. - BufferByteInput(Supplier<? extends ByteBuffer>) - Constructor for class com.github.jinahya.bit.io.BufferByteInput
-
Creates a new instance with specified source supplier.
- BufferByteOutput - Class in com.github.jinahya.bit.io
-
A byte output writes bytes to a
ByteBuffer
. - BufferByteOutput(Supplier<? extends ByteBuffer>) - Constructor for class com.github.jinahya.bit.io.BufferByteOutput
-
Creates a new instance with specified target supplier.
- ByteInput - Interface in com.github.jinahya.bit.io
-
An interface for reading bytes.
- ByteInputAdapter<T> - Class in com.github.jinahya.bit.io
-
An abstract class implements
ByteInput
adapting a specific type of byte source. - ByteInputAdapter(Supplier<? extends T>) - Constructor for class com.github.jinahya.bit.io.ByteInputAdapter
-
Creates a new instance with specified source supplier.
- ByteOutput - Interface in com.github.jinahya.bit.io
-
An interface for writing bytes.
- ByteOutputAdapter<T> - Class in com.github.jinahya.bit.io
-
An abstract class implements
ByteOutput
adapting a specific type of byte target. - ByteOutputAdapter(Supplier<? extends T>) - Constructor for class com.github.jinahya.bit.io.ByteOutputAdapter
-
Creates a new instance with specified target supplier.
- BytesAdapter - Class in com.github.jinahya.bit.io
-
A value adapter for reading/writing an array of bytes.
- BytesAdapter(int, int) - Constructor for class com.github.jinahya.bit.io.BytesAdapter
-
Creates a new instance with specified arguments.
C
- close() - Method in interface com.github.jinahya.bit.io.BitInput
-
Closes this input and releases any system resources associated with it.
- close() - Method in class com.github.jinahya.bit.io.BitInputAdapter
-
Closes this input and releases any system resources associated with it.
- close() - Method in interface com.github.jinahya.bit.io.BitOutput
-
Closes this output and releases any system resources associated with it.
- close() - Method in class com.github.jinahya.bit.io.BitOutputAdapter
-
Closes this output and releases any system resources associated with it.
- close() - Method in interface com.github.jinahya.bit.io.ByteInput
-
Closes this input and releases any system resources associated with it.
- close() - Method in class com.github.jinahya.bit.io.ByteInputAdapter
-
Closes this input and releases any system resources associated with it.
- close() - Method in interface com.github.jinahya.bit.io.ByteOutput
-
Closes this output and releases any system resources associated with it.
- close() - Method in class com.github.jinahya.bit.io.ByteOutputAdapter
-
Closes this output and releases any system resources associated with it.
- com.github.jinahya.bit.io - module com.github.jinahya.bit.io
- com.github.jinahya.bit.io - package com.github.jinahya.bit.io
-
Defines interfaces and classes for reading/writing non-octet aligned values.
- compose(ValueReader<? extends T>, ValueWriter<? super T>) - Static method in interface com.github.jinahya.bit.io.ValueAdapter
-
Creates new adapter composing specified arguments.
D
- DataByteInput - Class in com.github.jinahya.bit.io
-
A byte input reads bytes from an instance of
DataInput
. - DataByteInput(Supplier<? extends DataInput>) - Constructor for class com.github.jinahya.bit.io.DataByteInput
-
Creates a new instance with specified source supplier.
- DataByteOutput - Class in com.github.jinahya.bit.io
-
A byte output writes bytes to an instance of
DataOutput
. - DataByteOutput(Supplier<? extends DataOutput>) - Constructor for class com.github.jinahya.bit.io.DataByteOutput
-
Creates a new instance with specified target supplier.
F
- flush() - Method in interface com.github.jinahya.bit.io.BitOutput
-
Flushes this output by writing any buffered output to the underlying output.
- flush() - Method in class com.github.jinahya.bit.io.BitOutputAdapter
-
Flushes this output by writing any buffered output to the underlying output.
- flush() - Method in interface com.github.jinahya.bit.io.ByteOutput
-
Flushes this output by writing any buffered output to the underlying output.
- flush() - Method in class com.github.jinahya.bit.io.ByteOutputAdapter
-
Flushes this output by writing any buffered output to the underlying output.
- from(Supplier<? extends ReadableByteChannel>) - Static method in class com.github.jinahya.bit.io.BufferByteInput
-
Creates a new instance which reads bytes from a readable byte channel supplied by specified supplier.
- from(Supplier<? extends WritableByteChannel>) - Static method in class com.github.jinahya.bit.io.BufferByteOutput
-
Creates a new instance which writes bytes to a writable byte channel supplied by specified supplier.
L
- ListAdapter<T> - Class in com.github.jinahya.bit.io
-
A value adapter for reading/writing a list.
- ListAdapter(int, ValueAdapter<T>) - Constructor for class com.github.jinahya.bit.io.ListAdapter
-
Creates a new instance with specified arguments.
N
- nullable(ValueAdapter<T>) - Static method in interface com.github.jinahya.bit.io.ValueAdapter
-
Creates a new adapter which pre-reads/writes a
boolean
value indicating the nullability of the value. - nullable(ValueReader<? extends T>) - Static method in interface com.github.jinahya.bit.io.ValueReader
-
Returns an adapter which pre-reads a
boolean
value indicating the nullability of the value. - nullable(ValueWriter<? super T>) - Static method in interface com.github.jinahya.bit.io.ValueWriter
-
Returns an adapter which pre-writes a
boolean
value indicating the nullability of the value.
R
- read() - Method in interface com.github.jinahya.bit.io.ByteInput
-
Reads an unsigned 8-bit value.
- read() - Method in class com.github.jinahya.bit.io.ByteInputAdapter
-
Reads an unsigned 8-bit value.
- read(BitInput) - Method in class com.github.jinahya.bit.io.BytesAdapter
- read(BitInput) - Method in class com.github.jinahya.bit.io.ListAdapter
- read(BitInput) - Method in class com.github.jinahya.bit.io.StringAdapter
- read(BitInput) - Method in interface com.github.jinahya.bit.io.ValueReader
-
Reads a value from specified input.
- read(DataInput) - Method in class com.github.jinahya.bit.io.DataByteInput
-
Reads an 8-bit unsigned
int
value from specified source. - read(InputStream) - Method in class com.github.jinahya.bit.io.StreamByteInput
-
Reads an 8-bit unsigned
int
value from specified source. - read(ByteBuffer) - Method in class com.github.jinahya.bit.io.BufferByteInput
-
Reads an 8-bit unsigned
int
value from specified source. - read(T) - Method in class com.github.jinahya.bit.io.ByteInputAdapter
-
Reads an 8-bit unsigned
int
value from specified source. - readBoolean() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a
1
-bitboolean
value. - readByte(boolean, int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a
byte
value of specified number of bits. - readByte(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a signed
byte
value of specified number of bits. - readByte8() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 8-bit signed
byte
value. - readChar(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a
char
value of specified bit size. - readChar16() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 16-bit
char
value. - readDouble64() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 64-bit
double
value. - readFloat32() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 32-bit
float
value. - readInt(boolean, int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads an
int
value of specified number of bits. - readInt(boolean, int) - Method in class com.github.jinahya.bit.io.BitInputAdapter
- readInt(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a signed
int
value of specified bit size. - readInt32() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 32-bit signed
int
value. - readInt32Le() - Method in interface com.github.jinahya.bit.io.BitInput
-
Deprecated.Reads a value with
BitInput.readInt32()
method and reverse bytes withInteger.reverseBytes(int)
method. - readLength(BitInput, int) - Method in interface com.github.jinahya.bit.io.ValueReader
-
Reads an
length
value of specified bit size. - readLong(boolean, int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a
long
value of specified number of bits. - readLong(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a signed
long
value of specified bit size. - readLong64() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 64-bit signed
long
value. - readLong64Le() - Method in interface com.github.jinahya.bit.io.BitInput
-
Deprecated.Reads a value with
BitInput.readLong64()
and reverse bytes withLong.reverseBytes(long)
method. - readShort(boolean, int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a
short
value of specified number of bits. - readShort(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a signed
short
value of specified number of bits. - readShort16() - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a 16-bit signed
short
value. - readShort16Le() - Method in interface com.github.jinahya.bit.io.BitInput
-
Deprecated.Reads a value with
BitInput.readShort16()
and reverse bytes withShort.reverseBytes(short)
method. - readUnsignedByte(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads an unsigned
byte
value of specified number of bits. - readUnsignedInt(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads an unsigned
int
value of specified bit size. - readUnsignedLong(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads an unsigned
long
value of specified bit size. - readUnsignedShort(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads an unsigned
short
value of specified number of bits. - readValue(ValueAdapter<? extends T>) - Method in interface com.github.jinahya.bit.io.BitInput
-
Reads a value using specified adapter.
S
- skip(int) - Method in interface com.github.jinahya.bit.io.BitInput
-
Skips specified number of bits by discarding bits.
- skip(int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Skips specified number of bits by padding zero bits.
- StreamByteInput - Class in com.github.jinahya.bit.io
-
A byte input reads bytes from an instance of
InputStream
. - StreamByteInput(Supplier<? extends InputStream>) - Constructor for class com.github.jinahya.bit.io.StreamByteInput
-
Creates a new instance with specified source supplier.
- StreamByteOutput - Class in com.github.jinahya.bit.io
-
A byte output writes bytes to an instance of
OutputStream
. - StreamByteOutput(Supplier<? extends OutputStream>) - Constructor for class com.github.jinahya.bit.io.StreamByteOutput
-
Creates a new instance with specified target supplier.
- StringAdapter - Class in com.github.jinahya.bit.io
-
A value adapter for reading/writing string values.
- StringAdapter(BytesAdapter, Charset) - Constructor for class com.github.jinahya.bit.io.StringAdapter
-
Creates a new instance with specified arguments.
U
- unsigned(int, int) - Static method in class com.github.jinahya.bit.io.BytesAdapter
-
Creates a new instance for reading/writing an array of unsigned bytes.
V
- ValueAdapter<T> - Interface in com.github.jinahya.bit.io
-
An interface for reading/writing non-primitive object references.
- ValueReader<T> - Interface in com.github.jinahya.bit.io
-
An interface for reading non-primitive object references.
- ValueWriter<T> - Interface in com.github.jinahya.bit.io
-
An interface for writing non-primitive object references.
W
- write(int) - Method in interface com.github.jinahya.bit.io.ByteOutput
-
Writes specified unsigned 8-bit value.
- write(int) - Method in class com.github.jinahya.bit.io.ByteOutputAdapter
-
Writes specified unsigned 8-bit value.
- write(BitOutput, byte[]) - Method in class com.github.jinahya.bit.io.BytesAdapter
- write(BitOutput, String) - Method in class com.github.jinahya.bit.io.StringAdapter
- write(BitOutput, List<T>) - Method in class com.github.jinahya.bit.io.ListAdapter
- write(BitOutput, T) - Method in interface com.github.jinahya.bit.io.ValueWriter
-
Writes specified value to specified output.
- write(DataOutput, int) - Method in class com.github.jinahya.bit.io.DataByteOutput
-
Writes specified 8-bit unsigned
int
value to specified target. - write(OutputStream, int) - Method in class com.github.jinahya.bit.io.StreamByteOutput
-
Writes specified 8-bit unsigned
int
value to specified target. - write(ByteBuffer, int) - Method in class com.github.jinahya.bit.io.BufferByteOutput
-
Writes specified 8-bit unsigned
int
value to specified target. - write(T, int) - Method in class com.github.jinahya.bit.io.ByteOutputAdapter
-
Writes specified 8-bit unsigned
int
value to specified target. - writeBoolean(boolean) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified
1
-bitboolean
value. - writeByte(boolean, int, byte) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified
byte
value of specified number of bits. - writeByte(int, byte) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified signed
byte
value of specified number of bits. - writeByte8(byte) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 8-bit signed
byte
value. - writeChar(int, char) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified
char
value of specified bit size. - writeChar16(char) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 16-bit
char
value. - writeDouble64(double) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 64-bit
double
value. - writeFloat32(float) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 32-bit
float
value. - writeInt(boolean, int, int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified
int
value of specified number of bits. - writeInt(boolean, int, int) - Method in class com.github.jinahya.bit.io.BitOutputAdapter
- writeInt(int, int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified signed
int
value of specified bit size. - writeInt32(int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 32-bit signed value.
- writeInt32Le(int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Deprecated.Reverse specified value's bytes using
Integer.reverseBytes(int)
and write the result withBitOutput.writeInt32(int)
method. - writeLength(BitOutput, int, int) - Method in interface com.github.jinahya.bit.io.ValueWriter
-
Writes specified
length
value as an unsignedint
of specified bit size. - writeLong(boolean, int, long) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified
long
value of specified number of bits. - writeLong(int, long) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified signed
long
value of specified bit size. - writeLong64(long) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 64-bit signed
long
value. - writeLong64Le(long) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Deprecated.Reverse specified value's bytes using
Long.reverseBytes(long)
method and write the result withBitOutput.writeLong64(long)
method. - writeShort(boolean, int, short) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified
short
value of specified number of bits. - writeShort(int, short) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified signed
short
value of specified number of bits. - writeShort16(short) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified 16-bit signed
short
value. - writeShort16Le(short) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Deprecated.Reverse specified value's bytes with
Short.reverseBytes(short)
method and writes the result withBitOutput.writeShort16(short)
method. - writeUnsignedByte(int, byte) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified unsigned
byte
value of specified bit size. - writeUnsignedInt(int, int) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified unsigned
int
value of specified bit size. - writeUnsignedLong(int, long) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified unsigned
long
value of specified bit size. - writeUnsignedShort(int, short) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified unsigned
short
value of specified bit size. - writeValue(ValueAdapter<? super T>, T) - Method in interface com.github.jinahya.bit.io.BitOutput
-
Writes specified value using specified adapter.
All Classes All Packages