vrl 0.32.0

Vector Remap Language
Documentation
{
  "anchor": "decode_snappy",
  "name": "decode_snappy",
  "category": "Codec",
  "description": "Decodes the `value` (a Snappy string) into its original string.",
  "arguments": [
    {
      "name": "value",
      "description": "The Snappy data to decode.",
      "required": true,
      "type": [
        "string"
      ]
    }
  ],
  "return": {
    "types": [
      "string"
    ]
  },
  "internal_failure_reasons": [
    "`value` isn't a valid encoded Snappy string."
  ],
  "examples": [
    {
      "title": "Decode Snappy data",
      "source": "decode_snappy!(decode_base64!(\"LKxUaGUgcXVpY2sgYnJvd24gZm94IGp1bXBzIG92ZXIgMTMgbGF6eSBkb2dzLg==\"))",
      "return": "The quick brown fox jumps over 13 lazy dogs."
    }
  ],
  "pure": true
}