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

# lz4decompress

> Raw LZ4 block bytes degerini LZ4 block decompression ile acar ve raw decompressed bytes degerini Lua string olarak dondurur.

<div className="real-function-page">
  ```lua theme={null}
  lz4decompress(data: string, originalSize?: number): string
  ```

  ## Aliaslar

  * `crypt.lz4decompress`
  * `crypt.lz4.decompress`
  * `lz4.decompress`

  ## Argümanlar

  <ParamField path={"data"} type={"string"} required>
    LZ4 block decompression fonksiyonuna verilen raw compressed bytes.
  </ParamField>

  <ParamField path={"originalSize"} type={"number"}>
    dstCapacity olarak verilen output buffer size. lz4compress output icin orijinal sikistirilmamis byte uzunlugunu verin; atlanirsa sikistirilmis input uzunlugu kullanilir.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"decompressed"} type={"string"}>
    Lua string olarak dondurulen raw decompressed bytes. Output, originalSize degerinden daha kisa olabilir.
  </ResponseField>

  ## Örnek

  Orijinal sikistirilmamis boyutu vererek LZ4 bytes degerini acin.

  ```lua theme={null}
  local source = "Real Docs"
  local compressed = lz4compress(source)
  local decompressed = lz4decompress(compressed, #source)

  print(decompressed)
  print(decompressed == source)
  ```
</div>
