_Eina_Slice Struct Reference

Data Fields
_Eina_Slice Struct Reference
Eina » Data Types » Memory Slices

Defines a read-only memory region. More...

## Data Fields
size_t | len
| size of memory pointed by `mem`
union {
const void * mem
| memory pointed by this slice. More...
const uint8_t * bytes
| memory as uint8_t pointer
}; |

## Detailed Description

Defines a read-only memory region.

The slice is a memory starting at `mem` and accessible up to `len` bytes.

See also
  Eina_Rw_Slice for read-write memory regions.

Since
  1.19

## Field Documentation

## ◆ mem

const void* _Eina_Slice::mem

memory pointed by this slice.

Just read, never modify it.

Referenced by ecore_con_client_send(), ecore_con_server_send(), eina_stringshare_slice_get(), and elm_cnp_selection_set().