Go binding API

FROM
INTER
TO

Phase type

CTL_ATTACH_SCORE
CTL_ATTACH_OUTPUT_FILE
CTL_AMBIGUOUS_PAD

Request for (bsdconv.Bsdconv) Ctl

Bsdconv
func Create(string) → (*Bsdconv)

Create converter instance with given conversion string

func (this BsdconvInit()

Initialize the converter instance

func (this BsdconvConv_chunk([]byte) → ([]byte)

Perform chunked conversion

func (this BsdconvConv_chunk_last([]byte) → ([]byte)

Perform chunked conversion with flush

func (this BsdconvConv([]byte) → ([]byte)

Perform conversion with initialization and flush

func (this BsdconvConv_file(ifile string, ofile string)

Perform conversion from ifile to ofile

func (this BsdconvDestroy()

Destroy the converter instance

func (this BsdconvCounter(ct interface{}) → (interface{})

Get counter or counters if ct is nil

func (this BsdconvCtl(request int, ptr unsafe.Pointer, val int)

Manipulate the underlying codec parameters

func Insert_phase(conversion string, codec string, phase_type int, phasen int) → (string)

Insert conversion phase into bsdconv conversion string

func Insert_codec(conversion string, codec string, phasen int, codecn int) → (string)

Insert conversion codec into bsdconv conversion string

func Replace_phase(conversion string, codec string, phase_type int, phasen int) → (string)

Replace conversion phase in the bsdconv conversion string

func Replace_codec(conversion string, codec string, phasen int, codecn int) → (string)

Replace conversion codec in the bsdconv conversion string

func Codec_check(int, string) → (bool)

Check codec availability with given phase type and codec name

func Codecs_list(int) → ([]string)

Get codecs list of given phase type

func Mktemp(template string) → (*C.FILE, string)

mkstemp()

func Fopen(string, string) → (*C.FILE)

fopen()

func Fclose(fp *C.FILE)

fclose()

Previous topic

C API

Next topic

PHP binding API

This Page