ByteArray - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


type/ByteArray

check for a byte array

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

type(expr, ByteArray)

Parameters

expr

-

any expression

Description

• 

The type(expr, ByteArray) function returns true if expr is a ByteArray.

• 

A ByteArray is a one-dimensional Array with data type integer1.

• 

This is the standard way of representing an arbitrary chunk of binary data

Examples

AStringTools:-ToByteArrayLorem ipsum dolor sit amet

A761111141011093210511211511710932100111108111114321151051163297109101116

(1)

typeA,ByteArray

true

(2)

Bconvert2,3,5,7,11,13,ByteArray

B23571113

(3)

typeB,ByteArray

true

(4)

Compatibility

• 

The type/ByteArray command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

Array

Formats/ByType/ByteArray

rtable

rtable_options

type

type/rtable