class BitsCharsetDecoderUTF8 extends BitsCharsetDecoderCreatesSurrogates
- Alphabetic
- By Inheritance
- BitsCharsetDecoderUTF8
- BitsCharsetDecoderCreatesSurrogates
- BitsCharsetDecoderByteSize
- BitsCharsetDecoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BitsCharsetDecoderUTF8()
Type Members
-
class
BitsCharsetDecoderSurrogateState extends BitsCharsetDecoderState
- Definition Classes
- BitsCharsetDecoderCreatesSurrogates
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
checkContinuationByte(dis: InputSourceDataInputStream, byte: Int, bitsConsumedSoFar: Int): Unit
- Annotations
- @inline()
-
final
def
checkOverlong(byte1: Int, mask1: Int, byte2: Int, mask2: Int, bitsConsumedSoFar: Int): Unit
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
decode(dis: InputSourceDataInputStream, finfo: FormatInfo, chars: CharBuffer, bitPositions: LongBuffer = null): Int
Decode multiple characters into a CharBuffer, keeping track of the bit positions after each Char decode
Decode multiple characters into a CharBuffer, keeping track of the bit positions after each Char decode
Decodes at most chars.remaining() characters in the chars CharBuffer. If bitPositions is provided, for each decoded character the bitPosition0b where the character decode operation finished is stored in the bitPositions LongBuffer. Upon return of the decode operation, the bitPosition0b of the InputSourceDataInputStream will be the end of the last successful character decode operation. Returns the number of successfully decode characters.
- Definition Classes
- BitsCharsetDecoder
-
final
def
decodeOneChar(dis: InputSourceDataInputStream, finfo: FormatInfo): Char
Decode a single character
Decode a single character
This should read data via the InputSourceDataInputStream in whatever manner is most efficient, as long as at the end of the decode the bitPosition0b is set to to end of the character.
If there was a decode error, the bit position should be set to the end of malformed bits and a BitsCharsetDecoderMalformedException should be thrown specifying how many bits were malformed.
- Attributes
- protected
- Definition Classes
- BitsCharsetDecoderCreatesSurrogates → BitsCharsetDecoder
-
def
decodeOneUnicodeChar(dis: InputSourceDataInputStream, finfo: FormatInfo): Char
- Attributes
- protected
- Definition Classes
- BitsCharsetDecoderUTF8 → BitsCharsetDecoderCreatesSurrogates
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getByte(dis: InputSourceDataInputStream, bitsConsumedSoFar: Int): Int
- Attributes
- protected
- Definition Classes
- BitsCharsetDecoderByteSize
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reset(): Unit
- Definition Classes
- BitsCharsetDecoderCreatesSurrogates → BitsCharsetDecoderByteSize → BitsCharsetDecoder
-
def
setLowSurrogate(low: Char): Unit
- Attributes
- protected
- Definition Classes
- BitsCharsetDecoderCreatesSurrogates
-
var
state: BitsCharsetDecoderSurrogateState
- Attributes
- protected
- Definition Classes
- BitsCharsetDecoderCreatesSurrogates
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()