A B C D E F G H I L M N O P R S T U W Y Z 
All Classes All Packages

A

alphabet() - Method in class swim.codec.Base16
Returns a 16 character string, where the character at index i is the encoding of the base-16 digit i.
alphabet() - Method in class swim.codec.Base64
Returns a 64 character string, where the character at index i is the encoding of the base-64 digit i.
andThen(Encoder<I, O2>) - Method in class swim.codec.Encoder
Returns an Encoder that continues encoding that Encoder, after it finishes encoding this Encoder.
andThen(Encoder<I, O2>) - Method in class swim.codec.Writer
 
andThen(Writer<I, O2>) - Method in class swim.codec.Writer
Returns a Writer that continues writing that Writer, after it finishes writing this Writer.
array() - Method in class swim.codec.InputBuffer
 
array() - Method in class swim.codec.OutputBuffer
 
arrayOffset() - Method in class swim.codec.InputBuffer
 
arrayOffset() - Method in class swim.codec.OutputBuffer
 
asDone() - Method in class swim.codec.Encoder
Casts a done Encoder to a different input type.
asDone() - Method in class swim.codec.Writer
Casts a done Writer to a different input type.
asError() - Method in class swim.codec.Decoder
Casts an errored Decoder to a different output type.
asError() - Method in class swim.codec.Encoder
Casts an errored Encoder to different input and output types.
asError() - Method in class swim.codec.Parser
Casts an errored Parser to a different output type.
asError() - Method in class swim.codec.Writer
Casts an errored Writer to different input and output types.
at(long, int, int) - Static method in class swim.codec.Mark
Returns a new Mark at the given zero-based byte offset, one-based line number, and one-based column number, with no attached note.
at(long, int, int, String) - Static method in class swim.codec.Mark
Returns a new Mark at the given zero-based byte offset, one-based line number, and one-based column number, with the attached note.

B

Base10 - Class in swim.codec
Base-10 (decimal) encoding Parser/Writer factory.
Base16 - Class in swim.codec
Base-16 (hexadecimal) encoding Parser/Writer factory.
Base64 - Class in swim.codec
Base-64 (7-bit ASCII) encoding Parser/Writer factory.
Binary - Class in swim.codec
Byte Input/Output factory.
bind() - Method in class swim.codec.Decoder
Returns the decoded result.
bind() - Method in class swim.codec.DynamicDecoder
 
bind() - Method in class swim.codec.DynamicEncoder
 
bind() - Method in class swim.codec.Encoder
Returns the encoded result.
bind() - Method in class swim.codec.Output
Returns the implementation-defined result of writing the output.
bind() - Method in class swim.codec.Parser
Returns the parsed result.
bind() - Method in class swim.codec.Writer
Returns the written result.
black(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII black foreground color escape code to output, if output.settings().isStyled() is true.
blackBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold black foreground color escape code to output, if output.settings().isStyled() is true.
blue(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII blue foreground color escape code to output, if output.settings().isStyled() is true.
blueBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold blue foreground color escape code to output, if output.settings().isStyled() is true.
bold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold (increased intensity) escape code to output, if output.settings().isStyled() is true.
byteArrayOutput() - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array.
byteArrayOutput(int) - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array, pre-allocated with space for initialCapacity bytes.
byteArrayOutput(int, OutputSettings) - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array, pre-allocated with space for initialCapacity bytes, using the given settings.
byteArrayOutput(OutputSettings) - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array, using the given settings.
byteArrayWriter() - Method in class swim.codec.Base16
Returns a Writer that, when fed an input byte[] array, returns a continuation that writes the base-16 (hexadecimal) encoding of the input byte array.
byteArrayWriter() - Method in class swim.codec.Base64
Returns a Writer that, when fed an input byte[] array, returns a continuation that writes the base-64 (7-bit ASCII) encoding of the input byte array.
byteArrayWriter() - Static method in class swim.codec.Binary
 
byteArrayWriter(byte[]) - Method in class swim.codec.Base16
Returns a Writer continuation that writes the base-16 (hexadecimal) encoding of the input byte array.
byteArrayWriter(byte[]) - Method in class swim.codec.Base64
Returns a Writer continuation that writes the base-64 (7-bit ASCII) encoding of the input byte array.
byteArrayWriter(byte[]) - Static method in class swim.codec.Binary
 
byteArrayWriter(O, byte[]) - Static method in class swim.codec.Binary
 
byteBufferEWriter(O, ByteBuffer) - Static method in class swim.codec.Binary
 
byteBufferOutput() - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array.
byteBufferOutput(int) - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array, pre-allocated with space for initialCapacity bytes.
byteBufferOutput(int, OutputSettings) - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array, pre-allocated with space for initialCapacity bytes, using the given settings.
byteBufferOutput(OutputSettings) - Static method in class swim.codec.Binary
Returns a new Output that appends bytes to a growable array, using the given settings.
byteBufferWriter() - Method in class swim.codec.Base16
Returns a Writer that, when fed an input ByteBuffer, returns a continuation that writes the base-16 (hexadecimal) encoding of the input byte buffer.
byteBufferWriter() - Method in class swim.codec.Base64
Returns a Writer that, when fed an input ByteBuffer, returns a continuation that writes the base-64 (7-bit ASCII) encoding of the input byte buffer.
byteBufferWriter() - Static method in class swim.codec.Binary
 
byteBufferWriter(ByteBuffer) - Method in class swim.codec.Base16
Returns a Writer continuation that writes the base-16 (hexadecimal) encoding of the input byte buffer.
byteBufferWriter(ByteBuffer) - Method in class swim.codec.Base64
Returns a Writer continuation that writes the base-64 (7-bit ASCII) encoding of the input byte buffer.
byteBufferWriter(ByteBuffer) - Static method in class swim.codec.Binary
 

C

canEqual(Object) - Method in class swim.codec.InputSettings
 
canEqual(Object) - Method in class swim.codec.OutputSettings
 
capacity() - Method in class swim.codec.InputBuffer
 
capacity() - Method in class swim.codec.OutputBuffer
 
cause() - Method in class swim.codec.Diagnostic
Returns the Diagnostic cause of this diagnostic, forming a linked chain of diagnostics, or null if this diagnostic has no cause.
channelEncoder() - Static method in class swim.codec.Binary
 
channelEncoder(ReadableByteChannel) - Static method in class swim.codec.Binary
 
clone() - Method in class swim.codec.Input
Returns an independently positioned view into the token stream, initialized with identical state to this Input.
clone() - Method in class swim.codec.InputBuffer
 
clone() - Method in class swim.codec.Output
Returns an implementation-defined branch of the token stream.
clone() - Method in class swim.codec.OutputBuffer
 
column() - Method in class swim.codec.Input
Returns the one-based column number of the current lookahead token, relative to the current line in the stream.
column() - Method in class swim.codec.Mark
Returns the one-based column number of this position.
compareTo(Mark) - Method in class swim.codec.Mark
 
copy(boolean) - Method in class swim.codec.InputSettings
 
copy(String, boolean, boolean) - Method in class swim.codec.OutputSettings
 
countDigits(int) - Static method in class swim.codec.Base10
Returns the number of decimal digits in the given absolute value.
countDigits(long) - Static method in class swim.codec.Base10
Returns the number of decimal digits in the given absolute value.
create(boolean) - Static method in class swim.codec.InputSettings
Returns InputSettings configured to not include diagnostic metadata in generated output, if isStripped is true.
create(String, boolean, boolean) - Static method in class swim.codec.OutputSettings
Returns OutputSettings configured with the given lineSeparator, pretty printing enabled if isPretty is true, and styling enabled if isStyled is true.
cyan(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII cyan foreground color escape code to output, if output.settings().isStyled() is true.
cyanBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold cyan foreground color escape code to output, if output.settings().isStyled() is true.

D

debug(Object) - Static method in class swim.codec.Format
Returns the human-readable Debug string for the givem object, output using standard settings.
debug(Object) - Method in class swim.codec.Output
Writes the code points of the developer-readable Debug string of the given object.
debug(Object) - Method in class swim.codec.OutputBuffer
 
debug(Object, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the developer-readable Debug string for the given object to output.
debug(Object, OutputSettings) - Static method in class swim.codec.Format
Returns the developer-readable Display string for the givem object, output using the given settings.
debug(Output<?>) - Method in interface swim.codec.Debug
Writes a developer readable, debug-formatted string representation of this object to output.
debug(Output<?>) - Method in class swim.codec.InputSettings
 
debug(Output<?>) - Method in class swim.codec.Mark
 
debug(Output<?>) - Method in class swim.codec.OutputSettings
 
debug(Output<?>) - Method in class swim.codec.Span
 
debug(Output<?>) - Method in class swim.codec.UtfErrorMode
 
Debug - Interface in swim.codec
Type that can output a developer readable debug string.
debugChar(int, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the Java character literal for the given character to output.
debugDouble(double, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the Java numeric literal for the given value to output.
debugFloat(float, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the Java numeric literal for the given value to output.
debugInt(int, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the Java numeric literal for the given value to output.
debugLong(long, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the Java numeric literal for the given value to output.
debugString(String, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the Java string literal for the given string to output.
decimalParser() - Static method in class swim.codec.Base10
 
decode(Decoder<O>, InputStream) - Static method in class swim.codec.Binary
 
decode(Parser<O>, InputStream) - Static method in class swim.codec.Utf8
 
decodeDigit(int) - Static method in class swim.codec.Base10
Returns the decimal quantity between 0 (inclusive) and 10 (exclusive) represented by the base-10 digit c.
decodeDigit(int) - Static method in class swim.codec.Base16
Returns the 4-bit quantity represented by the base-16 digit c.
decodeDigit(int) - Method in class swim.codec.Base64
Returns the 7-bit quantity represented by the base-64 digit c.
decodedInput(Input) - Static method in class swim.codec.Utf8
 
decodedInput(Input, UtfErrorMode) - Static method in class swim.codec.Utf8
 
decodedOutput(Output<T>) - Static method in class swim.codec.Utf8
Returns a new Output that accepts UTF-8 code unit sequences, and writes decoded Unicode code points to the composed output, handling invalid code unit sequences according to the UtfErrorMode.fatal() policy.
decodedOutput(Output<T>, UtfErrorMode) - Static method in class swim.codec.Utf8
Returns a new Output that accepts UTF-8 code unit sequences, and writes decoded Unicode code points to the composed output, handling invalid code unit sequences according to the errorMode policy.
decodedParser(Parser<O>) - Static method in class swim.codec.Utf8
 
decodedParser(Parser<O>, UtfErrorMode) - Static method in class swim.codec.Utf8
 
decodedString() - Static method in class swim.codec.Utf8
Returns a new Output that accepts UTF-8 code unit sequences, and writes decoded Unicode code points to a growable String, handling invalid code unit sequences according to the UtfErrorMode.fatal() policy.
decodeOutput(Output<O>, Input) - Static method in class swim.codec.Utf8
Writes the decoded Unicode code points of the input buffer to the given output, returning a Decoder continuation that knows how to decode subsequent input buffers.
decodeOutput(Output<O>, InputBuffer, UtfErrorMode) - Static method in class swim.codec.Utf8
Writes the decoded Unicode code points of the input buffer to the given output, returning a Decoder continuation that knows how to decode subsequent input buffers.
Decoder<O> - Class in swim.codec
Continuation of how to decode subsequent input buffers from a byte stream.
Decoder() - Constructor for class swim.codec.Decoder
 
DecoderException - Exception in swim.codec
Thrown when a Decoder decodes invalid data.
DecoderException() - Constructor for exception swim.codec.DecoderException
 
DecoderException(String) - Constructor for exception swim.codec.DecoderException
 
DecoderException(String, Throwable) - Constructor for exception swim.codec.DecoderException
 
DecoderException(Throwable) - Constructor for exception swim.codec.DecoderException
 
decoding - Variable in class swim.codec.DynamicDecoder
Current decoder continuation.
Diagnostic - Class in swim.codec
Informational message attached to an input location.
didDecode(O) - Method in class swim.codec.DynamicDecoder
Lifecycle callback invoked after this DynamicDecoder has finished decoding a value.
didEncode(O) - Method in class swim.codec.DynamicEncoder
Lifecycle callback invoked after this DynamicEncoder has finished encoding a value.
display(Object) - Static method in class swim.codec.Format
Returns the human-readable Display string for the givem object, output using standard settings.
display(Object) - Method in class swim.codec.Output
Writes the code points of the human-readable Display string of the given object.
display(Object) - Method in class swim.codec.OutputBuffer
 
display(Object, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the human-readable Display string for the given object to output.
display(Object, OutputSettings) - Static method in class swim.codec.Format
Returns the human-readable Display string for the givem object, output using the given settings.
display(Output<?>) - Method in class swim.codec.Diagnostic
 
display(Output<?>) - Method in interface swim.codec.Display
Writes a human readable, display-formatted string representation of this object to output.
display(Output<?>) - Method in class swim.codec.Mark
 
display(Output<?>) - Method in class swim.codec.Span
 
Display - Interface in swim.codec
Type that can output a human readable display string.
displayDouble(double, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the numeric string for the given value to output.
displayFloat(float, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the numeric string for the given value to output.
displayInt(int, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the numeric string for the given value to output.
displayLong(long, Output<?>) - Static method in class swim.codec.Format
Writes the code points of the numeric string for the given value to output.
doDecode() - Method in class swim.codec.DynamicDecoder
Returns a new Decoder continuation for this DynamicDecoder, or null if this DynamicDecoder is done.
doEncode() - Method in class swim.codec.DynamicEncoder
Returns a new Encoder continuation for this DynamicEncoder, or null if this DynamicEncoder is done.
done() - Static method in class swim.codec.Decoder
Returns a Decoder in the done state that binds a null decoded result.
done() - Static method in class swim.codec.Encoder
Returns an Encoder in the done state that binds a null encoded result.
done() - Static method in class swim.codec.Input
Returns an Input in the done state.
done() - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the done state.
done() - Static method in class swim.codec.Output
Returns an Output in the done state, that binds a null result.
done() - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the done state, that binds a null result.
done() - Static method in class swim.codec.Parser
Returns a Parser in the done state that binds a null parsed result.
done() - Static method in class swim.codec.Writer
Returns a Writer in the done state that binds a null written result.
done(Object, Mark) - Static method in class swim.codec.Input
Returns an Input in the done state, at the mark position of a token stream logically identified by id.
done(Object, Mark) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the done state, at the mark position of a token stream logically identified by id.
done(Object, Mark, InputSettings) - Static method in class swim.codec.Input
Returns an Input in the done state, at the mark position of a token stream logically identified by id, with the given settings.
done(Object, Mark, InputSettings) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the done state, at the mark position of a token stream logically identified by id, with the given settings.
done(O) - Static method in class swim.codec.Decoder
Returns a Decoder in the done state that binds the given decoded output.
done(O) - Static method in class swim.codec.Encoder
Returns an Encoder in the done state that binds the given encoded output.
done(O) - Static method in class swim.codec.Parser
Returns a Parser in the done state that binds the given parsed output.
done(O) - Static method in class swim.codec.Writer
Returns a Writer in the done state that binds the given written output.
done(InputSettings) - Static method in class swim.codec.Input
Returns an Input in the done state, with the given settings.
done(InputSettings) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the done state, with the given settings.
done(OutputSettings) - Static method in class swim.codec.Output
Returns an Output in the done state, with the given settings.
done(OutputSettings) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the done state, with the given settings.
done(T) - Static method in class swim.codec.Output
Returns an Output in the done state, that binds the given value.
done(T) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the done state, that binds the given value.
done(T, OutputSettings) - Static method in class swim.codec.Output
Returns an Output in the done state, that binds the given value, with the given settings.
done(T, OutputSettings) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the done state, that binds the given value, with the given settings.
doubleWriter(long) - Static method in class swim.codec.Base10
Returns a Writer continuation that writes the base-10 (decimal) encoding of the input value.
DynamicDecoder<O> - Class in swim.codec
Dynamically generated Decoder continuation.
DynamicDecoder() - Constructor for class swim.codec.DynamicDecoder
 
DynamicEncoder<I,​O> - Class in swim.codec
Dynamically generated Encoder continuation.
DynamicEncoder() - Constructor for class swim.codec.DynamicEncoder
 

E

empty() - Static method in class swim.codec.Input
Returns an Input in the empty state.
empty() - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the empty state.
empty(Object, Mark) - Static method in class swim.codec.Input
Returns an Input in the empty state, at the mark position of a token stream logically identified by id.
empty(Object, Mark) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the empty state, at the mark position of a token stream logically identified by id.
empty(Object, Mark, InputSettings) - Static method in class swim.codec.Input
Returns an Input in the empty state, at the mark position of a token stream logically identified by id, with the given settings.
empty(Object, Mark, InputSettings) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the empty state, at the mark position of a token stream logically identified by id, with the given settings.
empty(InputSettings) - Static method in class swim.codec.Input
Returns an Input in the empty state, with the given settings.
empty(InputSettings) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the empty state, with the given settings.
encodeDigit(int) - Static method in class swim.codec.Base10
Returns the Unicode code point of the base-10 digit that encodes the given decimal quantity between 0 (inclusive) and 10 (exclusive).
encodeDigit(int) - Method in class swim.codec.Base16
Returns the Unicode code point of the base-16 digit that encodes the given 4-bit quantity.
encodeDigit(int) - Method in class swim.codec.Base64
Returns the Unicode code point of the base-64 digit that encodes the given 7-bit quantity.
encodedOutput(Output<T>) - Static method in class swim.codec.Utf8
 
encodedOutput(Output<T>, UtfErrorMode) - Static method in class swim.codec.Utf8
 
encodedWriter(Writer<I, O>) - Static method in class swim.codec.Utf8
 
encodedWriter(Writer<I, O>, UtfErrorMode) - Static method in class swim.codec.Utf8
 
Encoder<I,​O> - Class in swim.codec
Continuation of how encode subsequent output buffers for a byte stream.
Encoder() - Constructor for class swim.codec.Encoder
 
EncoderException - Exception in swim.codec
Thrown when an Encoder encodes invalid data.
EncoderException() - Constructor for exception swim.codec.EncoderException
 
EncoderException(String) - Constructor for exception swim.codec.EncoderException
 
EncoderException(String, Throwable) - Constructor for exception swim.codec.EncoderException
 
EncoderException(Throwable) - Constructor for exception swim.codec.EncoderException
 
encoding - Variable in class swim.codec.DynamicEncoder
Current encoder continuation.
end() - Method in class swim.codec.Mark
 
end() - Method in class swim.codec.Span
 
end() - Method in class swim.codec.Tag
Returns the last source position covered by this Tag.
equals(Object) - Method in class swim.codec.InputSettings
 
equals(Object) - Method in class swim.codec.Mark
 
equals(Object) - Method in class swim.codec.OutputSettings
 
equals(Object) - Method in class swim.codec.Span
 
error(Throwable) - Static method in class swim.codec.Decoder
Returns a Decoder in the error state that traps the given decode error.
error(Throwable) - Static method in class swim.codec.Encoder
Returns an Encoder in the error state that traps the given encode error.
error(Throwable) - Static method in class swim.codec.Input
Returns an Input in the error state, with the given input error.
error(Throwable) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the error state, with the given input error.
error(Throwable) - Static method in class swim.codec.Output
Returns an Output in the error state, with the given output error.
error(Throwable) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the error state, with the given output error.
error(Throwable) - Static method in class swim.codec.Parser
Returns a Parser in the error state that traps the given parse error.
error(Throwable) - Static method in class swim.codec.Writer
Returns a Writer in the error state that traps the given write error.
error(Throwable, Object, Mark) - Static method in class swim.codec.Input
Returns an Input in the error state, with the given input error, at the mark position of a token stream logically identified by id.
error(Throwable, Object, Mark) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the error state, with the given input error, at the mark position of a token stream logically identified by id.
error(Throwable, Object, Mark, InputSettings) - Static method in class swim.codec.Input
Returns an Input in the error state, with the given input error, at the mark position of a token stream logically identified by id, with the given settings.
error(Throwable, Object, Mark, InputSettings) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the error state, with the given input error, at the mark position of a token stream logically identified by id, with the given settings.
error(Throwable, InputSettings) - Static method in class swim.codec.Input
Returns an Input in the error state, with the given input error and settings.
error(Throwable, InputSettings) - Static method in class swim.codec.InputBuffer
Returns an InputBuffer in the error state, with the given input error and settings.
error(Throwable, OutputSettings) - Static method in class swim.codec.Output
Returns an Output in the error state, with the given output error and settings.
error(Throwable, OutputSettings) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the error state, with the given output error and settings.
error(Diagnostic) - Static method in class swim.codec.Parser
Returns a Parser in the error state that traps a ParserException with the given diagnostic.
expected(int, Input) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, String) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, Severity) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, Severity, String) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(int, Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(String, Input) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, String) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, Severity) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, Severity, String) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
expected(String, Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
 

F

faint(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII faint (decreased intensity) escape code to output, if output.settings().isStyled() is true.
fatal() - Static method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that aborts Unicode decoding with an error when invalid code unit sequences are encountered.
fatalNonZero() - Static method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that aborts Unicode decoding with an error when invalid code unit sequences, and NUL bytes, are encountered.
feed(I) - Method in class swim.codec.DynamicEncoder
 
feed(I) - Method in class swim.codec.Encoder
Returns an Encoder that represents the continuation of how to encode the given input object.
feed(I) - Method in class swim.codec.Writer
Returns a Writer that represents the continuation of how to write the given input object.
feed(Input) - Method in class swim.codec.Parser
Incrementally parses as much input as possible, and returns another Parser that represents the continuation of how to parse additional Input.
feed(InputBuffer) - Method in class swim.codec.Decoder
Incrementally decodes as much input buffer data as possible, and returns another Decoder that represents the continuation of how to decode additional buffer data.
feed(InputBuffer) - Method in class swim.codec.DynamicDecoder
 
feed(InputBuffer) - Method in class swim.codec.Parser
 
floatWriter(long) - Static method in class swim.codec.Base10
Returns a Writer continuation that writes the base-10 (decimal) encoding of the input value.
flush() - Method in class swim.codec.Output
Writes any internally buffered state to the underlying output stream.
flush() - Method in class swim.codec.OutputBuffer
 
fork(Object) - Method in class swim.codec.Decoder
Returns a Decoder continuation whose behavior may be altered by the given out-of-band condition.
fork(Object) - Method in class swim.codec.DynamicDecoder
 
fork(Object) - Method in class swim.codec.DynamicEncoder
 
fork(Object) - Method in class swim.codec.Encoder
Returns an Encoder continuation whose behavior may be altered by the given out-of-band condition.
fork(Object) - Method in class swim.codec.Input
Returns an Input equivalent to this Input, but whose behavior may be altered by the given out-of-band condition.
fork(Object) - Method in class swim.codec.InputBuffer
 
fork(Object) - Method in class swim.codec.Output
Returns an Output equivalent to this Output, but whose behavior may be altered by the given out-of-band condition.
fork(Object) - Method in class swim.codec.OutputBuffer
 
fork(Object) - Method in class swim.codec.Parser
Returns a Parser continuation whose behavior may be altered by the given out-of-band condition.
fork(Object) - Method in class swim.codec.Writer
Returns a Writer continuation whose behavior may be altered by the given out-of-band condition.
Format - Class in swim.codec
Text format utility functions.
from(Input, Tag, Severity) - Static method in class swim.codec.Diagnostic
 
from(Input, Tag, Severity, String) - Static method in class swim.codec.Diagnostic
 
from(Input, Tag, Severity, String, String) - Static method in class swim.codec.Diagnostic
 
from(Input, Tag, Severity, String, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
from(Input, Tag, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
from(Input, Tag, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
 
from(Mark, Mark) - Static method in class swim.codec.Span
Returns a new Span representing the closed interval between the given start and end marks.
full() - Static method in class swim.codec.Output
Returns an Output in the full state, that binds a null result.
full() - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the full state, that binds a null result.
full(OutputSettings) - Static method in class swim.codec.Output
Returns an Output in the full state, with the given settings.
full(OutputSettings) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the full state, with the given settings.
full(T) - Static method in class swim.codec.Output
Returns an Output in the full state, that binds the given value.
full(T) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the full state, that binds the given value.
full(T, OutputSettings) - Static method in class swim.codec.Output
Returns an Output in the full state, that binds the given value, with the given settings.
full(T, OutputSettings) - Static method in class swim.codec.OutputBuffer
Returns an OutputBuffer in the full state, that binds the given value, with the given settings.

G

get(int) - Method in class swim.codec.InputBuffer
 
get(int) - Method in class swim.codec.OutputBuffer
 
getDiagnostic() - Method in exception swim.codec.ParserException
 
gray(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII gray foreground color escape code to output, if output.settings().isStyled() is true.
grayBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold gray foreground color escape code to output, if output.settings().isStyled() is true.
green(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII green foreground color escape code to output, if output.settings().isStyled() is true.
greenBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold green foreground color escape code to output, if output.settings().isStyled() is true.

H

has(int) - Method in class swim.codec.InputBuffer
 
has(int) - Method in class swim.codec.OutputBuffer
 
hashCode() - Method in class swim.codec.InputSettings
 
hashCode() - Method in class swim.codec.Mark
 
hashCode() - Method in class swim.codec.OutputSettings
 
hashCode() - Method in class swim.codec.Span
 
head() - Method in class swim.codec.Input
Returns the current lookahead token, if this Input is in the cont state.

I

id() - Method in class swim.codec.Input
Returns an object that identifies the token stream, or null if the stream is unidentified.
id(Object) - Method in class swim.codec.Input
Returns an Input equivalent to this Input, but logically identified by the given–possibly null–id.
id(Object) - Method in class swim.codec.InputBuffer
 
index() - Method in class swim.codec.InputBuffer
 
index() - Method in class swim.codec.OutputBuffer
 
index(int) - Method in class swim.codec.InputBuffer
 
index(int) - Method in class swim.codec.OutputBuffer
 
input() - Method in class swim.codec.Diagnostic
Returns the Input source to which this diagnostic is attached.
input(byte...) - Static method in class swim.codec.Binary
 
Input - Class in swim.codec
Non-blocking token stream reader, with single token lookahead.
Input() - Constructor for class swim.codec.Input
 
inputBuffer(byte[]) - Static method in class swim.codec.Binary
 
inputBuffer(byte[], int, int) - Static method in class swim.codec.Binary
 
inputBuffer(ByteBuffer) - Static method in class swim.codec.Binary
 
InputBuffer - Class in swim.codec
Non-blocking token stream buffer.
InputBuffer() - Constructor for class swim.codec.InputBuffer
 
InputException - Exception in swim.codec
Thrown when reading invalid Input.
InputException() - Constructor for exception swim.codec.InputException
 
InputException(String) - Constructor for exception swim.codec.InputException
 
InputException(String, Throwable) - Constructor for exception swim.codec.InputException
 
InputException(Throwable) - Constructor for exception swim.codec.InputException
 
InputSettings - Class in swim.codec
Input consumption parameters.
InputSettings(boolean) - Constructor for class swim.codec.InputSettings
 
integerParser() - Static method in class swim.codec.Base10
 
intWriter() - Static method in class swim.codec.Base10
Returns a Writer that, when fed an input Integer value, returns a continuation that writes the base-10 (decimal) encoding of the input value.
intWriter(int) - Static method in class swim.codec.Base10
Returns a Writer continuation that writes the base-10 (decimal) encoding of the input value.
isCont() - Method in class swim.codec.Decoder
Returns true when feed is able to consume InputBuffer data.
isCont() - Method in class swim.codec.Encoder
Returns true when pull is able to produce buffer data.
isCont() - Method in class swim.codec.Input
Returns true when a lookeahead token is immediately available.
isCont() - Method in class swim.codec.Output
Returns true when the next Output.write(int) will succeed.
isCont() - Method in class swim.codec.Parser
Returns true when feed is able to consume Input.
isCont() - Method in class swim.codec.Writer
Returns true when pull is able to produce Output.
isDigit(int) - Static method in class swim.codec.Base10
Returns true if the Unicode code point c is a valid base-10 digit.
isDigit(int) - Static method in class swim.codec.Base16
Returns true if the Unicode code point c is a valid base-16 digit.
isDigit(int) - Method in class swim.codec.Base64
Returns true if the Unicode code point c is a valid base-64 digit.
isDone() - Method in class swim.codec.Decoder
Returns true when decoding has terminated successfully, and bind will return the decoded result.
isDone() - Method in class swim.codec.Encoder
Returns true when encoding has terminated successfully, and bind will return the encoded result.
isDone() - Method in class swim.codec.Input
Returns true when no lookahead token is currently available, and no additional input will ever become available.
isDone() - Method in class swim.codec.Output
Returns true when no write will ever again suucced.
isDone() - Method in class swim.codec.Parser
Returns true when parsing has terminated successfully, and bind will return the parsed result.
isDone() - Method in class swim.codec.Writer
Returns true when writing has terminated successfully, and bind will return the written result.
isEmpty() - Method in class swim.codec.Input
Returns true when no lookahead token is currently available, but additional input may be available in the future.
isError() - Method in class swim.codec.Decoder
Returns true when decoding has terminated in failure, and trap will return the decode error.
isError() - Method in class swim.codec.Encoder
Returns true when encoding has terminated in failure, and trap will return the encode error.
isError() - Method in class swim.codec.Input
Returns true when no lookahead token is currently available due to an error with the token stream.
isError() - Method in class swim.codec.Output
Returns true when an immediate write will fail due to an error with the token stream.
isError() - Method in class swim.codec.Parser
Returns true when parsing has terminated in failure, and trap will return the parse error.
isError() - Method in class swim.codec.Writer
Returns true when writing has terminated in failure, and trap will return the write error.
isFatal() - Method in class swim.codec.UtfErrorMode
Returns true if a Unicode decoding should abort with an error when an invalid code unit sequence is encountered.
isFull() - Method in class swim.codec.Output
Returns true when an immediate write will fail, but writes may succeed at some point in the future.
isNonZero() - Method in class swim.codec.UtfErrorMode
Returns true if Unicode decoding should abort with an error when a NUL byte is encountered.
isNonZero(boolean) - Method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that, if isNonZero is true, aborts when Unicode decoding encounters a NUL byte.
isPadded() - Method in class swim.codec.Base64
Returns true if this base-64 encoding requires padding.
isPadded(boolean) - Method in class swim.codec.Base64
Returns this Base64 encoding with required padding, if isPadded is true.
isPart() - Method in class swim.codec.Input
Returns true if this is a partial Input will that enter the empty state after it consumes the last available input token.
isPart() - Method in class swim.codec.Output
Returns true if this is a partial Output that will enter the full state when it is unable to write additional tokens.
isPart(boolean) - Method in class swim.codec.Input
Returns a partial Input equivalent to this Input, if isPart is true; returns a final Input equivalent to this Input if isPart is false.
isPart(boolean) - Method in class swim.codec.InputBuffer
 
isPart(boolean) - Method in class swim.codec.Output
Returns a partial Output equivalent to this Output, if isPart is true; returns a final Output equivalent to this Output if isPart is false.
isPart(boolean) - Method in class swim.codec.OutputBuffer
 
isPretty - Variable in class swim.codec.OutputSettings
 
isPretty() - Method in class swim.codec.OutputSettings
Returns true if output producers should pretty print their output, when possible.
isPretty(boolean) - Method in class swim.codec.OutputSettings
Returns a copy of these settings with the given isPretty flag.
isReplacement() - Method in class swim.codec.UtfErrorMode
Returns true if a Unicode decoding should substitute invalid code unit sequences with a replacement character.
isStripped - Variable in class swim.codec.InputSettings
 
isStripped() - Method in class swim.codec.InputSettings
Returns true if input consumers should not include diagnostic metadata in generated output.
isStripped(boolean) - Method in class swim.codec.InputSettings
Returns a copy of these settings with the given isStripped flag.
isStyled - Variable in class swim.codec.OutputSettings
 
isStyled() - Method in class swim.codec.OutputSettings
Returns true if output producers should style their output, when possible.
isStyled(boolean) - Method in class swim.codec.OutputSettings
Returns a copy of these settings with the given isStyled flag.

L

limit() - Method in class swim.codec.InputBuffer
 
limit() - Method in class swim.codec.OutputBuffer
 
limit(int) - Method in class swim.codec.InputBuffer
 
limit(int) - Method in class swim.codec.OutputBuffer
 
line() - Method in class swim.codec.Input
Returns the one-based line number of the current lookahead token, relative to the start of the stream.
line() - Method in class swim.codec.Mark
Returns the one-based line number of this position.
lineParser() - Static method in class swim.codec.Unicode
 
lineSeparator - Variable in class swim.codec.OutputSettings
 
lineSeparator() - Static method in class swim.codec.Format
Returns the operting system specific string used to separate lines of text.
lineSeparator() - Method in class swim.codec.OutputSettings
Returns the code point sequence used to separate lines of text.
lineSeparator(String) - Method in class swim.codec.OutputSettings
Returns a copy of these settings with the given lineSeparator.
longWriter() - Static method in class swim.codec.Base10
Returns a Writer that, when fed an input Long value, returns a continuation that writes the base-10 (decimal) encoding of the input value.
longWriter(long) - Static method in class swim.codec.Base10
Returns a Writer continuation that writes the base-10 (decimal) encoding of the input value.
lowercase() - Static method in class swim.codec.Base16
Returns the Base16 encoding with lowercase alphanumeric digits.

M

magenta(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII magenta foreground color escape code to output, if output.settings().isStyled() is true.
magentaBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold magenta foreground color escape code to output, if output.settings().isStyled() is true.
mark() - Method in class swim.codec.Input
Returns the position of the current lookahead token, relative to the start of the stream.
mark(Mark) - Method in class swim.codec.Input
Returns an Input equivalent to this Input, but logically positioned at the given mark.
mark(Mark) - Method in class swim.codec.InputBuffer
 
Mark - Class in swim.codec
Description of a source position, identified by byte offset, line, and column number, with an optional note.
max(Mark) - Method in class swim.codec.Mark
Returns this position, if its byte offset is greater than or equal to that position; otherwise returns that position.
message() - Method in class swim.codec.Diagnostic
Returns the help message that describes this diagnostic.
message(String, Input) - Static method in class swim.codec.Diagnostic
 
message(String, Input, String) - Static method in class swim.codec.Diagnostic
 
message(String, Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
message(String, Input, Diagnostic) - Static method in class swim.codec.Diagnostic
 
message(String, Input, Severity) - Static method in class swim.codec.Diagnostic
 
message(String, Input, Severity, String) - Static method in class swim.codec.Diagnostic
 
message(String, Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
message(String, Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
 
min(Mark) - Method in class swim.codec.Mark
Returns this position, if its byte offset is less than or equal to that position; otherwise returns that position.
move(int, int, int) - Method in class swim.codec.OutputBuffer
 

N

note() - Method in class swim.codec.Diagnostic
Returns an informative comment on the source context to which this diagnostic is attached.
note() - Method in class swim.codec.Mark
Returns the note attached to the marked position, or null if this position has no attached note.
nullParser() - Static method in class swim.codec.Binary
 
nullParser() - Static method in class swim.codec.Unicode
 
numberParser() - Static method in class swim.codec.Base10
 

O

offset() - Method in class swim.codec.Input
Returns the byte offset of the current lookahead token, relative to the start of the stream.
offset() - Method in class swim.codec.Mark
Returns the zero-based byte offset of this position.
Output<T> - Class in swim.codec
Non-blocking token stream writer.
Output() - Constructor for class swim.codec.Output
 
outputBuffer(byte[]) - Static method in class swim.codec.Binary
 
outputBuffer(byte[], int, int) - Static method in class swim.codec.Binary
 
outputBuffer(ByteBuffer) - Static method in class swim.codec.Binary
 
OutputBuffer<T> - Class in swim.codec
Non-blocking token stream buffer.
OutputBuffer() - Constructor for class swim.codec.OutputBuffer
 
outputDecoder(Output<O>) - Static method in class swim.codec.Utf8
Returns a new Decoder that writes decoded Unicode code points to the given output, handling invalid code unit sequences according to the UtfErrorMode.fatal() policy.
outputDecoder(Output<O>, UtfErrorMode) - Static method in class swim.codec.Utf8
Returns a new Decoder that writes decoded Unicode code points to the given output, handling invalid code unit sequences according to the errorMode policy.
OutputException - Exception in swim.codec
Thrown when writing invalid Output.
OutputException() - Constructor for exception swim.codec.OutputException
 
OutputException(String) - Constructor for exception swim.codec.OutputException
 
OutputException(String, Throwable) - Constructor for exception swim.codec.OutputException
 
OutputException(Throwable) - Constructor for exception swim.codec.OutputException
 
outputParser(Output<O>) - Static method in class swim.codec.Binary
Returns a new Parser that writes decoded bytes to the given output.
outputParser(Output<O>) - Static method in class swim.codec.Unicode
 
OutputSettings - Class in swim.codec
Output production parameters.
OutputSettings(String, boolean, boolean) - Constructor for class swim.codec.OutputSettings
 
OutputStyle - Class in swim.codec
Stylized text output utility functions.

P

parse(Input, Output<O>) - Static method in class swim.codec.Base16
Parses the base-16 (hexadecimal) encoded input, and writes the decoded bytes to output, returning a Parser continuation that knows how to parse any additional input.
parse(Input, Output<O>) - Method in class swim.codec.Base64
Parses the base-64 (7-bit ASCII) encoded input, and writes the decoded bytes to output, returning a Parser continuation that knows how to parse any additional input.
parseByteArray(Input) - Static method in class swim.codec.Base16
Parses the base-16 (hexadecimal) encoded input, and writes the decoded bytes to a growable array, returning a Parser continuation that knows how to parse any additional input.
parseByteArray(Input) - Method in class swim.codec.Base64
Parses the base-64 (7-bit ASCII) encoded input, and writes the decoded bytes to a growable array, returning a Parser continuation that knows how to parse any additional input.
parseByteBuffer(Input) - Static method in class swim.codec.Base16
Parses the base-16 (hexadecimal) encoded input, and writes the decoded bytes to a growable buffer, returning a Parser continuation that knows how to parse any additional input.
parseByteBuffer(Input) - Method in class swim.codec.Base64
Parses the base-64 (t-bit ASCII) encoded input, and writes the decoded bytes to a growable buffer, returning a Parser continuation that knows how to parse any additional input.
parseDecimal(Input) - Static method in class swim.codec.Base10
 
parseDecoded(Parser<O>, Input) - Static method in class swim.codec.Utf8
 
parseDecoded(Parser<O>, Input, UtfErrorMode) - Static method in class swim.codec.Utf8
 
parseInteger(Input) - Static method in class swim.codec.Base10
 
parseLine(Input) - Static method in class swim.codec.Unicode
 
parseLine(Input, StringBuilder) - Static method in class swim.codec.Unicode
 
parseNull(Input) - Static method in class swim.codec.Binary
 
parseNull(Input) - Static method in class swim.codec.Unicode
 
parseNumber(Input) - Static method in class swim.codec.Base10
 
parseOutput(Output<O>, Input) - Static method in class swim.codec.Binary
Writes the decoded bytes of the input buffer to the given output, returning a Parser continuation that knows how to decode subsequent input buffers.
parseOutput(Output<O>, Input) - Static method in class swim.codec.Unicode
 
parser(Output<O>) - Static method in class swim.codec.Base16
Returns a Parser that decodes base-16 (hexadecimal) encoded input, and writes the decoded bytes to output.
parser(Output<O>) - Method in class swim.codec.Base64
Returns a Parser that decodes base-64 (7-bit ASCII) encoded input, and writes the decoded bytes to output.
Parser<O> - Class in swim.codec
Continuation of how to parse subsequent Input tokens from a stream.
Parser() - Constructor for class swim.codec.Parser
 
ParserException - Exception in swim.codec
Thrown when a Parser parses invdalid syntax.
ParserException() - Constructor for exception swim.codec.ParserException
 
ParserException(String) - Constructor for exception swim.codec.ParserException
 
ParserException(String, Throwable) - Constructor for exception swim.codec.ParserException
 
ParserException(Throwable) - Constructor for exception swim.codec.ParserException
 
ParserException(Diagnostic) - Constructor for exception swim.codec.ParserException
 
parseString(Input) - Static method in class swim.codec.Unicode
 
parseString(Input) - Static method in class swim.codec.Utf8
 
parseString(Input, StringBuilder) - Static method in class swim.codec.Unicode
 
parseString(Input, StringBuilder) - Static method in class swim.codec.Utf8
 
parseString(Input, StringBuilder, UtfErrorMode) - Static method in class swim.codec.Utf8
 
parseString(Input, UtfErrorMode) - Static method in class swim.codec.Utf8
 
pretty() - Static method in class swim.codec.OutputSettings
Returns OutputSettings configured with the system line separator, pretty printing enabled, and styling disabled.
prettyStyled() - Static method in class swim.codec.OutputSettings
Returns OutputSettings configured with the system line separator, pretty printing enabled, and styling enabled.
pull(Output<?>) - Method in class swim.codec.Writer
Incrementally writes as much output as possible, and returns another Writer that represents the continuation of how to write additional Output.
pull(OutputBuffer<?>) - Method in class swim.codec.DynamicEncoder
 
pull(OutputBuffer<?>) - Method in class swim.codec.Encoder
Incrementally encodes as much output buffer data as possible, and returns another Encoder that represents the continuation of how to write additional buffer data.
pull(OutputBuffer<?>) - Method in class swim.codec.Writer
 

R

read(Decoder<O>, InputStream) - Static method in class swim.codec.Binary
 
read(Parser<O>, InputStream) - Static method in class swim.codec.Utf8
 
red(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII red foreground color escape code to output, if output.settings().isStyled() is true.
redBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold red foreground color escape code to output, if output.settings().isStyled() is true.
remaining() - Method in class swim.codec.InputBuffer
 
remaining() - Method in class swim.codec.OutputBuffer
 
replacement() - Static method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that substitutes invalid code unit sequences with the replacement character (U+FFFD).
replacement(int) - Static method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that substitutes invalid code unit sequences with the given replacementChar.
replacementChar() - Method in class swim.codec.UtfErrorMode
Returns the Unicode code point of the replacement character to substitute for invalid code unit sequences.
replacementNonZero() - Static method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that substitutes invalid code unit sequences with the replacement character (U+FFFD), and aborts decoding with an error when NUL bytes are encountered.
replacementNonZero(int) - Static method in class swim.codec.UtfErrorMode
Returns a UtfErrorMode that substitutes invalid code unit sequences with the given replacementChar, and aborts decoding with an error when NUL bytes are encountered.
reset(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII reset escape code to output, if output.settings().isStyled() is true.

S

seek(Mark) - Method in class swim.codec.Input
Returns an Input equivalent to this Input, but repositioned to the given mark.
seek(Mark) - Method in class swim.codec.InputBuffer
 
set(int, int) - Method in class swim.codec.InputBuffer
 
set(int, int) - Method in class swim.codec.OutputBuffer
 
settings() - Method in class swim.codec.Input
Returns the InputSettings used to configure the behavior of input consumers that read from this Input.
settings() - Method in class swim.codec.Output
Returns the OutputSettings used to configure the behavior of output producers that write to this Output.
settings(InputSettings) - Method in class swim.codec.Input
Returns an Input equivalent to this Input, but with the given input settings.
settings(InputSettings) - Method in class swim.codec.InputBuffer
 
settings(OutputSettings) - Method in class swim.codec.Output
Updates the settings associated with this Output.
settings(OutputSettings) - Method in class swim.codec.OutputBuffer
 
severity() - Method in class swim.codec.Diagnostic
Returns the level of importance of this diagnostic.
shift(Mark) - Method in class swim.codec.Mark
 
shift(Mark) - Method in class swim.codec.Span
 
shift(Mark) - Method in class swim.codec.Tag
Returns the position of this Tag relative to the given mark.
sizeOf(int) - Static method in class swim.codec.Utf8
Returns the number of bytes in the UTF-8 encoding of the Unicode code point c; returns the size of the Unicode replacement character (U+FFFD) for surrogates and invalid code points.
sizeOf(int, UtfErrorMode) - Static method in class swim.codec.Utf8
Returns the number of bytes in the UTF-8 encoding of the Unicode code point c, handling invalid code unit sequences according to the errorMode policy.
sizeOf(String) - Static method in class swim.codec.Utf8
Returns the number of bytes in the UTF-8 encoding the given string, assuming the Unicode replacement character (U+FFFD) replaces unpaired surrogates and invalid code points.
sizeOf(String, UtfErrorMode) - Static method in class swim.codec.Utf8
Returns the number of bytes in the UTF-8 encoding the given string, handling invalid code unit sequences according to the errorMode policy.
Span - Class in swim.codec
Description of a source range, identified by a closed interval between start and end marks.
standard() - Static method in class swim.codec.Base64
Returns the Base64 encoding with the standard alphabet.
standard() - Static method in class swim.codec.InputSettings
Returns InputSettings configured to include diagnostic metadata in generated output.
standard() - Static method in class swim.codec.OutputSettings
Returns OutputSettings configured with the system line separator, pretty printing disabled, and styling disabled.
standard(boolean) - Static method in class swim.codec.Base64
Returns the Base64 encoding with the standard alphabet, and required padding, if isPadded is true.
start() - Method in class swim.codec.Mark
 
start() - Method in class swim.codec.Span
 
start() - Method in class swim.codec.Tag
Returns the first source position covered by this Tag.
step() - Method in class swim.codec.Input
Returns an Input equivalent to this Input, but advanced to the next token.
step() - Method in class swim.codec.InputBuffer
 
step(int) - Method in class swim.codec.InputBuffer
 
step(int) - Method in class swim.codec.OutputBuffer
 
stringInput(String) - Static method in class swim.codec.Unicode
 
stringOutput() - Static method in class swim.codec.Unicode
Returns a new Output that buffers Unicode code points.
stringOutput(int) - Static method in class swim.codec.Unicode
 
stringOutput(int, OutputSettings) - Static method in class swim.codec.Unicode
 
stringOutput(String) - Static method in class swim.codec.Unicode
Returns a new Output that appends Unicode code points to the given string.
stringOutput(StringBuilder) - Static method in class swim.codec.Unicode
Returns a new Output that writes Unicode code points to the given string builder.
stringOutput(StringBuilder, OutputSettings) - Static method in class swim.codec.Unicode
Returns a new Output that writes Unicode code points to the given string builder, using the given output settings.
stringOutput(String, OutputSettings) - Static method in class swim.codec.Unicode
Returns a new Output that appends Unicode code points to the given string, using the given output settings.
stringOutput(OutputSettings) - Static method in class swim.codec.Unicode
Returns a new Output that buffers Unicode code points, using the given output settings.
stringParser() - Static method in class swim.codec.Unicode
 
stringParser() - Static method in class swim.codec.Utf8
 
stringParser(StringBuilder) - Static method in class swim.codec.Unicode
 
stringParser(StringBuilder) - Static method in class swim.codec.Utf8
 
stringParser(StringBuilder, UtfErrorMode) - Static method in class swim.codec.Utf8
 
stringParser(UtfErrorMode) - Static method in class swim.codec.Utf8
 
stringWriter() - Static method in class swim.codec.Unicode
 
stringWriter(O) - Static method in class swim.codec.Unicode
 
stringWriter(O) - Static method in class swim.codec.Utf8
 
stringWriter(O, UtfErrorMode) - Static method in class swim.codec.Utf8
 
stripped() - Static method in class swim.codec.InputSettings
Returns InputSettings configured to not include diagnostic metadata in generated output.
styled() - Static method in class swim.codec.OutputSettings
Returns OutputSettings configured with the system line separator, pretty printing disabled, and styling enabled.
swim.codec - module swim.codec
Incremental I/O; functional parsers and writers; display, debug, and diagnostic formatters; and Unicode and binary codecs.
swim.codec - package swim.codec
Incremental I/O; functional parsers and writers; display, debug, and diagnostic formatters; and Unicode and binary codecs.

T

tag() - Method in class swim.codec.Diagnostic
Returns the annotated location Tag in the input to which this diagnostic is attached.
Tag - Class in swim.codec
Description of a source location.
Tag() - Constructor for class swim.codec.Tag
 
toString() - Method in class swim.codec.Diagnostic
 
toString() - Method in class swim.codec.InputSettings
 
toString() - Method in class swim.codec.Mark
 
toString() - Method in class swim.codec.OutputSettings
 
toString() - Method in exception swim.codec.ParserException
 
toString() - Method in class swim.codec.Span
 
toString() - Method in class swim.codec.UtfErrorMode
 
toString(OutputSettings) - Method in class swim.codec.Diagnostic
 
trap() - Method in class swim.codec.Decoder
Returns the decode error.
trap() - Method in class swim.codec.DynamicDecoder
 
trap() - Method in class swim.codec.DynamicEncoder
 
trap() - Method in class swim.codec.Encoder
Returns the encode error.
trap() - Method in class swim.codec.Input
Returns the input error.
trap() - Method in class swim.codec.Output
Returns the output error.
trap() - Method in class swim.codec.Parser
Returns the parse error.
trap() - Method in class swim.codec.Writer
Returns the write error.

U

unexpected(Input) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, String) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, Diagnostic) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, Severity) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, Severity, String) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
 
unexpected(Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
 
Unicode - Class in swim.codec
Unicode code point Input/Output/Writer factory.
union(Tag) - Method in class swim.codec.Mark
 
union(Tag) - Method in class swim.codec.Span
 
union(Tag) - Method in class swim.codec.Tag
Returns a Tag that includes all source locations covered by both this tag, and some other tag.
uppercase() - Static method in class swim.codec.Base16
Returns the Base16 encoding with uppercase alphanumeric digits.
url() - Static method in class swim.codec.Base64
Returns the Base64 encoding with the url and filename safe alphabet.
url(boolean) - Static method in class swim.codec.Base64
Returns the Base64 encoding with the url and filename safe alphabet, and required padding, if isPadded is true.
urlUnpadded() - Static method in class swim.codec.Base64
 
Utf8 - Class in swim.codec
UTF-8 Input/Output factory.
UtfErrorMode - Class in swim.codec
Unicode transformation format error handling mode.

W

write(int) - Method in class swim.codec.Output
Writes a single token to the stream, if this Output is in the cont state.
write(int) - Method in class swim.codec.OutputBuffer
 
write(String) - Method in class swim.codec.Output
Writes the code points of the given string.
write(String) - Method in class swim.codec.OutputBuffer
 
write(ReadableByteChannel) - Method in class swim.codec.OutputBuffer
 
writeByteArray(byte[], Output<?>) - Method in class swim.codec.Base16
Writes the base-16 (hexadecimal) encoding of the input byte array to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeByteArray(byte[], Output<?>) - Method in class swim.codec.Base64
Writes the base-64 (7-bit ASCII) encoding of the input byte array to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeByteArray(byte[], Output<?>) - Static method in class swim.codec.Binary
 
writeByteBuffer(ByteBuffer, Output<?>) - Method in class swim.codec.Base16
Writes the base-16 (hexadecimal) encoding of the input byte buffer to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeByteBuffer(ByteBuffer, Output<?>) - Method in class swim.codec.Base64
Writes the base-64 (7-bit ASCII) encoding of the input byte buffer to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeByteBuffer(ByteBuffer, Output<?>) - Static method in class swim.codec.Binary
 
writeDouble(double, Output<?>) - Static method in class swim.codec.Base10
Writes the base-10 (decimal) encoding of the input value to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeEncoded(Writer<I, O>, Output<?>) - Static method in class swim.codec.Utf8
 
writeEncoded(Writer<I, O>, Output<?>, UtfErrorMode) - Static method in class swim.codec.Utf8
 
writeFloat(float, Output<?>) - Static method in class swim.codec.Base10
Writes the base-10 (decimal) encoding of the input value to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeInt(int, Output<?>) - Static method in class swim.codec.Base10
Writes the base-10 (decimal) encoding of the input value to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeInt(int, Output<?>) - Method in class swim.codec.Base16
 
writeInt(int, Output<?>, int) - Method in class swim.codec.Base16
 
writeIntLiteral(int, Output<?>) - Method in class swim.codec.Base16
 
writeIntLiteral(int, Output<?>, int) - Method in class swim.codec.Base16
 
writeln() - Method in class swim.codec.Output
Writes the code points of the settings' line separator.
writeln() - Method in class swim.codec.OutputBuffer
 
writeln(String) - Method in class swim.codec.Output
Writes the code points of the given string, followed by the code points of the settings' line separator.
writeln(String) - Method in class swim.codec.OutputBuffer
 
writeLong(long, Output<?>) - Static method in class swim.codec.Base10
Writes the base-10 (decimal) encoding of the input value to the output, returning a Writer continuation that knows how to write any remaining output that couldn't be immediately generated.
writeLong(long, Output<?>) - Method in class swim.codec.Base16
 
writeLong(long, Output<?>, int) - Method in class swim.codec.Base16
 
writeLongLiteral(long, Output<?>) - Method in class swim.codec.Base16
 
writeLongLiteral(long, Output<?>, int) - Method in class swim.codec.Base16
 
writeQuantum(int, int, int, int, Output<?>) - Method in class swim.codec.Base64
Decodes the base-64 digits c1, c2, c3, and c4, and writes the 8 to 24 bit quantity they represent to the given output.
writeQuantum(int, int, Output<?>) - Static method in class swim.codec.Base16
Decodes the base-16 digits c1 and c2, and writes the 8-bit quantity they represent to the given output.
Writer<I,​O> - Class in swim.codec
Continuation of how to write subsequent Output tokens to a stream.
Writer() - Constructor for class swim.codec.Writer
 
WriterException - Exception in swim.codec
Thrown when a Writer attempts to write invalid syntax.
WriterException() - Constructor for exception swim.codec.WriterException
 
WriterException(String) - Constructor for exception swim.codec.WriterException
 
WriterException(String, Throwable) - Constructor for exception swim.codec.WriterException
 
WriterException(Throwable) - Constructor for exception swim.codec.WriterException
 
writeString(Object, Output<?>) - Static method in class swim.codec.Unicode
 
writeString(O, Output<?>) - Static method in class swim.codec.Utf8
 
writeString(O, Output<?>, UtfErrorMode) - Static method in class swim.codec.Utf8
 

Y

yellow(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII yellow foreground color escape code to output, if output.settings().isStyled() is true.
yellowBold(Output<?>) - Static method in class swim.codec.OutputStyle
Writes the ASCII bold yellow foreground color escape code to output, if output.settings().isStyled() is true.

Z

zero() - Static method in class swim.codec.Mark
Returns a Mark at byte offset 0, line 1, and column 1, with no attached note.
A B C D E F G H I L M N O P R S T U W Y Z 
All Classes All Packages