Module org.jruby.jcodings
Package org.jcodings.transcode.specific
Class Iso2022jp_kddi_encoder_Transcoder
java.lang.Object
org.jcodings.transcode.Transcoder
org.jcodings.transcode.specific.Iso2022jp_kddi_encoder_Transcoder
- All Implemented Interfaces:
TranscodingInstruction
-
Field Summary
FieldsFields inherited from class org.jcodings.transcode.Transcoder
compatibility, inputUnitLength, maxInput, maxOutput
Fields inherited from interface org.jcodings.transcode.TranscodingInstruction
FOURbt, FUNii, FUNio, FUNsi, FUNsio, FUNso, GB4bt, INVALID, LAST, NOMAP, NOMAP_RESUME_1, ONEbt, STR1, THREEbt, TWObt, UNDEF, ZERObt, ZeroXResume_1, ZeroXResume_2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
finish
(byte[] statep, byte[] p, int start, int size) boolean
int
resetSize
(byte[] statep) int
resetState
(byte[] statep, byte[] p, int start, int size) int
startToOutput
(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize) int
stateFinish
(byte[] state) int
stateInit
(byte[] statep) Methods inherited from class org.jcodings.transcode.Transcoder
getDestination, getSource, hasStateInit, infoToInfo, infoToOutput, load, startInfoToOutput, startToInfo, toString, toStringFull, transcoding
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Iso2022jp_kddi_encoder_Transcoder
protected Iso2022jp_kddi_encoder_Transcoder()
-
-
Method Details
-
stateInit
public int stateInit(byte[] statep) - Overrides:
stateInit
in classTranscoder
-
stateFinish
public int stateFinish(byte[] state) - Overrides:
stateFinish
in classTranscoder
-
startToOutput
public int startToOutput(byte[] statep, byte[] s, int sStart, int l, byte[] o, int oStart, int oSize) - Overrides:
startToOutput
in classTranscoder
-
hasFinish
public boolean hasFinish()- Overrides:
hasFinish
in classTranscoder
-
finish
public int finish(byte[] statep, byte[] p, int start, int size) - Overrides:
finish
in classTranscoder
-
resetSize
public int resetSize(byte[] statep) - Overrides:
resetSize
in classTranscoder
-
resetState
public int resetState(byte[] statep, byte[] p, int start, int size) - Overrides:
resetState
in classTranscoder
-