python-on-a-chip online compiler

Dependencies:   mbed TSI

Embed: (wiki syntax)

« Back to documentation index

PmBytearray_s Struct Reference

PmBytearray_s Struct Reference

Bytearray obj. More...

#include <bytearray.h>

Data Fields

PmObjDesc_t od
 Object descriptor.
uint16_t length
 Bytearray length; logical number of bytes.
pPmBytes_t val
 Ptr to bytes container (may hold more bytes than length)

Detailed Description

Bytearray obj.

Mutable ordered sequence of bytes. Contains ptr to chunk of bytes.

Definition at line 44 of file bytearray.h.


Field Documentation

uint16_t length

Bytearray length; logical number of bytes.

Definition at line 50 of file bytearray.h.

Object descriptor.

Definition at line 47 of file bytearray.h.

Ptr to bytes container (may hold more bytes than length)

Definition at line 53 of file bytearray.h.