Flutter Engine
The Flutter Engine
gzip.h
Go to the documentation of this file.
1// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_BIN_GZIP_H_
6#define RUNTIME_BIN_GZIP_H_
7
8#include "platform/globals.h"
9
10namespace dart {
11namespace bin {
12
13// |input| is assumed to be a gzipped stream.
14// This function allocates the output buffer in the C heap and the caller
15// is responsible for freeing it.
16void Decompress(const uint8_t* input,
17 intptr_t input_len,
18 uint8_t** output,
19 intptr_t* output_length);
20
21} // namespace bin
22} // namespace dart
23
24#endif // RUNTIME_BIN_GZIP_H_
void Decompress(const uint8_t *input, intptr_t input_len, uint8_t **output, intptr_t *output_length)
Definition: gzip.cc:15
Definition: dart_vm.cc:33