# `Kreuzberg.PageBoundary`
[🔗](https://github.com/kreuzberg-dev/kreuzberg/blob/main/lib/kreuzberg/page_structure.ex#L1)

Byte offset boundary for a page.

Tracks where a specific page's content starts and ends in the main content string.
Matches the Rust `PageBoundary` struct.

## Fields

  * `:byte_start` - Byte offset where this page starts (inclusive)
  * `:byte_end` - Byte offset where this page ends (exclusive)
  * `:page_number` - Page number (1-indexed)

# `t`

```elixir
@type t() :: %Kreuzberg.PageBoundary{
  byte_end: non_neg_integer(),
  byte_start: non_neg_integer(),
  page_number: non_neg_integer()
}
```

# `from_map`

```elixir
@spec from_map(map()) :: t()
```

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
