Ruby binding API

class bsdconv::Bsdconv
FROM
INTER
TO

Phase type

CTL_ATTACH_SCORE
CTL_ATTACH_OUTPUT_FILE
CTL_AMBIGUOUS_PAD

Request for ctl

classmethod Bsdconv.new(conversion)

Create converter instance with given conversion string

classmethod Bsdconv.insert_phase(conversion, codec, phase_type, phasen)

Insert conversion phase into bsdconv conversion string

classmethod Bsdconv.insert_codec(conversion, codec, phasen, codecn)

Insert conversion codec into bsdconv conversion string

classmethod Bsdconv.replace_phase(conversion, codec, phase_type, phasen)

Replace conversion phase in the bsdconv conversion string

classmethod Bsdconv.replace_codec(conversion, codec, phasen, codecn)

Replace conversion codec in the bsdconv conversion string

classmethod Bsdconv.error()

Get error message

classmethod Bsdconv.codecs_list(phase_type)

Get codecs list

classmethod Bsdconv.codec_check(phase_type, codec)

Check codec availability with given phase type and codec name

classmethod Bsdconv.mktemp(template)

mkstemp()

classmethod Bsdconv.fopen(path, mode)

fopen()

conv(s)

Perform conversion

init()

Initialize/Reset bsdconv converter

ctl(arg_ptr_obj, arg_int)

Manipulate the underlying codec parameters

conv_chunk(s)

Perform conversion without initializing and flushing

conv_chunk_last(s)

Perform conversion without initializing

conv_file(from_file, to_file)

Perform conversion with given filename

counter([name])

Return conversion info

counter_reset([name])

Reset counter, if no name supplied, all counters will be reset

Previous topic

Python binding API

This Page