# dataSize

> The size of the text asset data in bytes. (Read Only)

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public long dataSize { get; }
```

### Remarks

Additional Resources: [TextAsset.GetData](/engine/6000.0/script-reference/unityengine/textasset/getdata.md), [TextAsset.bytes](/engine/6000.0/script-reference/unityengine/textasset/bytes.md), [Text Assets](/engine/6000.0/manual/assets-and-media/asset-types/class-text-asset.md).
