95 |
// Package-private to avoid a trampoline constructor. |
// Package-private to avoid a trampoline constructor. |
96 |
Decoder (Charset cs) |
Decoder (Charset cs) |
97 |
{ |
{ |
98 |
super (cs, 0.9f, 0.25f); |
super (cs, 1f, 1f); |
99 |
} |
} |
100 |
|
|
101 |
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) |
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) |
117 |
return CoderResult.OVERFLOW; |
return CoderResult.OVERFLOW; |
118 |
out.put ((char) b1); |
out.put ((char) b1); |
119 |
inPos++; |
inPos++; |
120 |
break; |
break; |
121 |
|
|
122 |
case 0xC: case 0xD: |
case 0xC: case 0xD: |
123 |
byte b2; |
byte b2; |