Methods
| Modifier and Type |
Method and Description |
abstract org.jruby.util.ByteList |
convert(ThreadContext context,
org.jruby.util.ByteList value,
boolean is7BitASCII) |
abstract RubyCoderResult |
econvConvert(ThreadContext context,
org.jruby.util.ByteList value,
org.jruby.util.ByteList dest) |
abstract org.jruby.util.ByteList |
econvStrConvert(ThreadContext context,
org.jruby.util.ByteList value,
boolean finish) |
abstract org.jruby.util.ByteList |
finish(org.jcodings.Encoding altEncoding) |
RaiseException |
getLastError() |
RubyCoderResult |
getLastResult() |
static Transcoder |
open(ThreadContext context,
byte[] sourceEncoding,
byte[] destinationEncoding,
int ecflags,
IRubyObject replacement) |
static Transcoder |
open0(ThreadContext context,
byte[] sourceEncoding,
byte[] destinationEncoding,
int ecflags,
IRubyObject replacement) |
abstract RubyCoderResult |
primitiveConvert(ThreadContext context,
org.jruby.util.ByteList inBuffer,
org.jruby.util.ByteList outBuffer,
int outOffset,
int outLimit,
org.jcodings.Encoding inEncoding,
boolean is7BitASCII,
int flags) |
static org.jruby.util.ByteList |
strConvEnc(ThreadContext context,
org.jruby.util.ByteList value,
org.jcodings.Encoding fromEncoding,
org.jcodings.Encoding toEncoding) |
static org.jruby.util.ByteList |
strConvEncOpts(ThreadContext context,
org.jruby.util.ByteList value,
org.jcodings.Encoding fromEncoding,
org.jcodings.Encoding toEncoding,
int ecflags,
IRubyObject ecopts)
This will try and transcode the supplied ByteList to the supplied toEncoding.
|
abstract org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value) |
abstract org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
boolean is7BitASCII) |
abstract RubyCoderResult |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
org.jruby.util.ByteList dest) |
static org.jruby.util.ByteList |
transcode(ThreadContext context,
org.jruby.util.ByteList value,
org.jcodings.Encoding fromEncoding,
org.jcodings.Encoding toEncoding,
IRubyObject opts,
boolean is7BitASCII) |