Java.Nio.Charset.CharsetDecoder Members

The members of Java.Nio.Charset.CharsetDecoder are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.
Constructs a new CharsetDecoder using the given Charset, average number and maximum number of characters created by this decoder for one input byte, and the default replacement string "�".

Public Properties

[read-only]
IsAutoDetectingbool. Indicates whether this decoder implements an auto-detecting charset.
[read-only]
IsCharsetDetectedbool. Indicates whether this decoder has detected a charset; this method is optional.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AverageCharsPerByte() : float
Returns the average number of characters created by this decoder for a single input byte.
Charset() : Charset
Returns the Java.Nio.Charset.Charset which this decoder uses.
Decode(Java.Nio.ByteBuffer) : Java.Nio.CharBuffer
This is a facade method for the decoding operation.
Decode(Java.Nio.ByteBuffer, Java.Nio.CharBuffer, bool) : CoderResult
Decodes bytes starting at the current position of the given input buffer, and writes the equivalent character sequence into the given output buffer from its current position.
DetectedCharset() : Charset
Gets the charset detected by this decoder; this method is optional.
Flush(Java.Nio.CharBuffer) : CoderResult
Flushes this decoder.
MalformedInputAction() : CodingErrorAction
Returns this decoder's CodingErrorAction when malformed input occurred during the decoding process.
MaxCharsPerByte() : float
Returns the maximum number of characters which can be created by this decoder for one input byte, must be positive.
OnMalformedInput(CodingErrorAction) : CharsetDecoder
Sets this decoder's action on malformed input errors.
OnUnmappableCharacter(CodingErrorAction) : CharsetDecoder
Sets this decoder's action on unmappable character errors.
Replacement() : string
Returns the replacement string, which is never null or empty.
ReplaceWith(string) : CharsetDecoder
Sets the new replacement string.
Reset() : CharsetDecoder
Resets this decoder.
UnmappableCharacterAction() : CodingErrorAction
Returns this decoder's CodingErrorAction when an unmappable character error occurred during the decoding process.

Protected Methods

abstract
DecodeLoop(Java.Nio.ByteBuffer, Java.Nio.CharBuffer) : CoderResult
Decodes bytes into characters.
ImplFlush(Java.Nio.CharBuffer) : CoderResult
Flushes this decoder.
ImplOnMalformedInput(CodingErrorAction)
Notifies that this decoder's CodingErrorAction specified for malformed input error has been changed.
ImplOnUnmappableCharacter(CodingErrorAction)
Notifies that this decoder's CodingErrorAction specified for unmappable character error has been changed.
ImplReplaceWith(string)
Notifies that this decoder's replacement has been changed.
ImplReset()
Reset this decoder's charset related state.