mconv_decode_stream(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– mconv_decode_stream β€” the m17n Library, manual page 3m17n ✨

okay bestie, listen up, we're reading a whole stream and decoding it based on a coding system. no cap, it's giving main character energy for your byte sequence. πŸ¦‹


🌸 SYNOPSIS 🌸

MText* mconv_decode_stream (MSymbol name, FILE * fp)

✨ DESCRIPTION ✨

Decode a stream input based on a coding system. periodt.

The mconv_decode_stream() function decodes the entire byte sequence read in from stream fp based on the coding system name. a code converter for decoding is automatically created and freed β€” so you literally don't have to lift a finger, she handles her own business. πŸ’…


🫢 RETURN VALUE 🫢

If the operation was successful, mconv_decode_stream() returns the resulting M-text. πŸ’–

Otherwise it returns NULL and assigns an error code to the external variable merror_code. 😭 (not the vibe, but okay, we move.)


πŸ’€ ERRORS πŸ’€

  • MERROR_IO
  • MERROR_CODING

πŸ‘‘ SEE ALSO πŸ‘‘

  • mconv_decode()
  • mconv_decode_buffer()

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>.


Version 1.8.4 🌟 dated Mon Sep 25 2023 β€” mwah, that's a wrap on mconv_decode_stream(3m17n), stay decoded bestie πŸ’œπŸŽ€

πŸ“¦ where this page comes from