ByteArray - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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

> 

A≔StringTools:-ToByteArray⁡Lorem ipsum dolor sit amet

A≔761111141011093210511211511710932100111108111114321151051163297109101116

(1)
> 

type⁡A,ByteArray

true

(2)
> 

B≔convert⁡2,3,5,7,11,13,ByteArray

B≔23571113

(3)
> 

type⁡B,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