logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mconv_buffer_converter -

Description

       Create a code converter bound to a buffer. The mconv_buffer_converter() function creates a pointer to a
       code converter for coding system name. The code converter is bound to buffer area of n bytes pointed to
       by buf. Subsequent decodings and encodings are done to/from this buffer area.

       name can be Mnil. In this case, a coding system associated with the current locale (LC_CTYPE) is used.

Errors

           MERROR_SYMBOL, MERROR_CODING

       SeeAlso:mconv_stream_converter()

Name

       mconv_buffer_converter -

Return Value

           If the operation was successful, mconv_buffer_converter() returns the created code converter.
           Otherwise it returns NULL and assigns an error code to the external variable merror_code.

Synopsis

MConverter* mconv_buffer_converter (MSymbol name, const unsigned char * buf, int n)

See Also