# ReadByte()

> Reads a byte and advances the current read position by a byte.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities.Serialization](/engine/7000.0/script-reference/unity/entities/serialization.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public byte ReadByte()
```

### Returns

| Type                                                       | Description    |
| ---------------------------------------------------------- | -------------- |
| [byte](https://learn.microsoft.com/dotnet/api/system.byte) | The read data. |
