public class CharsetTranscoder.TranscoderEngine extends Object
Modifier and Type | Class and Description |
---|---|
class |
CharsetTranscoder.TranscoderEngine.TranscoderState |
Modifier and Type | Field and Description |
---|---|
boolean |
binaryToCharacter |
CharsetDecoder |
decoder |
boolean |
didDecode |
boolean |
didEncode |
CharsetEncoder |
encoder |
RubyCoderResult |
result |
CharBuffer |
tmpChars |
Constructor and Description |
---|
CharsetTranscoder.TranscoderEngine(Charset inCharset,
Charset outCharset,
boolean binaryToCharacter) |
Modifier and Type | Method and Description |
---|---|
float |
averageByteRatio() |
org.jruby.util.ByteList |
finish() |
void |
reset() |
RubyCoderResult |
transcode(CharsetTranscoder.TranscoderEngine.TranscoderState state,
int flags) |
public CharBuffer tmpChars
public final CharsetDecoder decoder
public final CharsetEncoder encoder
public boolean binaryToCharacter
public RubyCoderResult result
public boolean didDecode
public boolean didEncode
public float averageByteRatio()
public RubyCoderResult transcode(CharsetTranscoder.TranscoderEngine.TranscoderState state, int flags)
public org.jruby.util.ByteList finish()
public void reset()
Copyright © 2001-2017 JRuby. All Rights Reserved.