type/ByteArray - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/ByteArray

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 integer[1].

• 

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

Examples

AStringTools:-ToByteArrayLorem ipsum dolor sit amet

A 1 .. 26 ArrayData Type: integer[1]Storage: rectangularOrder: C_order

(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

rtable

rtable_options

type

type/rtable