Struct PntosByteArray

Struct Documentation

struct PntosByteArray

An owned array of bytes (see PntosManagedMemory for more information).

Invariants:

  • data must be a pointer to an array of allocated memory

  • The length of data must be equal to sizeof(unsigned char)*num_bytes

Public Members

PntosManagedMemory *memory
unsigned char *data

An array of num_bytes bytes which is not \0 terminated. \0 characters may be present in the data stream.

size_t num_bytes

The length of data.