| Modifier and Type | Method and Description |
|---|---|
static Utf8CodingException |
Utf8CodingException.illegalSurrogatePair(char c1,
char c2)
Exception for an illegal surrogate pair
|
static Utf8CodingException |
Utf8CodingException.illegalUtf8DecodeByteSequence(byte[] bytes)
Exception for an illegal UTF_8 Decode Byte Sequence
|
static Utf8CodingException |
Utf8CodingException.outOfMemory()
Exception for out-of-memory
|
static Utf8CodingException |
Utf8CodingException.shortUtf8DecodeByteSequence(byte leadByte,
long address,
long limit,
int required)
Exception for a short UTF_8 Decode Byte Sequence
|
static Utf8CodingException |
Utf8CodingException.shortUtf8EncodeByteLength(int remaining)
Exception for a short UTF_8 encode byte length
|
static Utf8CodingException |
Utf8CodingException.unpairedSurrogate(char c)
Exception for an unpaired surrogate
|
| Modifier and Type | Method and Description |
|---|---|
int |
Memory.getCharsFromUtf8(long offsetBytes,
int utf8LengthBytes,
Appendable dst)
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of
utf8LengthBytes, decodes them into characters and appends them to the given Appendable.
|
int |
Memory.getCharsFromUtf8(long offsetBytes,
int utf8LengthBytes,
StringBuilder dst)
Gets UTF-8 encoded bytes from this Memory, starting at offsetBytes to a length of
utf8LengthBytes, decodes them into characters and appends them to the given StringBuilder.
|
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.