> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# stripZerosLeft

> **注意**: このページはまだ日本語に翻訳されていません。以下は英語の原文です。

```ts theme={null}
function stripZerosLeft(data): string
```

Return the DataHexString | **DataHexString** result by stripping all **leading** zero bytes from `data`.

## Parameters

| Parameter | Type                                                  | Description        |
| :-------- | :---------------------------------------------------- | :----------------- |
| `data`    | [`BytesLike`](/jp/sdk/content/type-aliases/BytesLike) | The data to strip. |

## Returns

`string`

The stripped data.

## Source

[utils/data.ts:201](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/utils/data.ts#L201)
