---
# System prepended metadata

title: Примеры

---

# Примеры

## offset + body

```
data MyType {
    offset: bytes<4, little>,
    body: bytes<4, little>
}
```

## linked list

```c
struct list {
    int data;
    struct list *next;
}
```

```
data LinkedList {
    data: bytes<4, little>,
    next_offset: bytes<4, little>,
    next_item: LinkedList if 'neq(next, 0'4),
}
```