17.3.4. pmix_byte_object_t — OpenPMIx 6.1.1rc2 documentation

# 17.3.4. pmix_byte_object_t

pmix_byte_object_t — a structure containing a raw byte sequence

## 17.3.4.1. SYNTAX

### 17.3.4.1.1. C Syntax

    #include <pmix_common.h>

    typedef struct pmix_byte_object {
       char *bytes;
       size_t size;
    } pmix_byte_object_t;

### 17.3.4.1.2. Python Syntax

    from pmix import *

    foo = {'bytes': bts, 'size': sz}

where `bts` is a Python byte array and `sz` is the integer number of bytes in that array.

## 17.3.4.2. DESCRIPTION

The pmix_byte_object_t structure is used to contain and transfer a sequence of bytes across APIs and between processes.

See also

PMIx_Initialized(3)