---
name: "mconv_rebind_buffer"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mconv_rebind_buffer"
---

# mconv\_rebind\_buffer(3m17n)

## NAME

mconv\_rebind\_buffer -

## SYNOPSIS

**MConverter**\* **mconv\_rebind\_buffer** (**MConverter** \* *converter*, const unsigned char \* *buf*, int *n*)

## DESCRIPTION

Bind a buffer to a code converter. The **mconv\_rebind\_buffer()** function binds buffer area of **n** bytes pointed to by **buf** to code converter **converter**. Subsequent decodings and encodings are done to/from this newly bound buffer area.

## RETURN VALUE

This function always returns **converter**. \

## SEE ALSO

**mconv\_rebind\_stream()**\

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)\
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License  \<http://www.gnu.org/licenses/fdl.html\>.
