Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
convert/bytes - convert between strings and lists of integers
Calling Sequence
convert(expr, bytes)
Parameters
expr
-
string, symbol, list of integers, or floating point value
Description
convert, with second argument 'bytes', converts a string first argument into list of integers giving the byte values of the characters within the string.
If the first argument is a symbol (i.e. a simple name) and that symbol has not been assigned a value, it is treated as if it were a string.
Passing a list of integers as the first argument will produce a string consisting of the characters corresponding to the integers in the list. If the list contains a zero value, the string is truncated at that point.
A hardware floating point first argument is converted to a list of values corresponding to the 8-byte internal IEEE representation of the value.
A software floating point value is first converted to hardware floating point, and then converted to a list as described above.
Examples
An integer outside the range 1..255 appearing in the list truncates the conversion to a string at that point.
See Also
convert/hex, readbytes, writebytes
Download Help Document