---
title: es_string_token_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_string_token_t
---

# es_string_token_t

A pointer to a null-terminated string, and the length in bytes of that string.

## Declaration

```swift
struct es_string_token_t
```

## Overview

Overview The length doesn’t include the null terminator character.

## Topics

### Initializers

- [init()](endpointsecurity/es_string_token_t/init().md)
- [init(length:data:)](endpointsecurity/es_string_token_t/init(length:data:).md)

### Inspecting the Token

- [data](endpointsecurity/es_string_token_t/data.md)
- [length](endpointsecurity/es_string_token_t/length.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Supporting Types

- [es_result_t](endpointsecurity/es_result_t.md)
- [es_token_t](endpointsecurity/es_token_t.md)
