v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
snapshot-compression.h
Go to the documentation of this file.
1
// Copyright 2020 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_SNAPSHOT_SNAPSHOT_COMPRESSION_H_
6
#define V8_SNAPSHOT_SNAPSHOT_COMPRESSION_H_
7
8
#include "
src/base/vector.h
"
9
#include "
src/snapshot/snapshot-data.h
"
10
11
namespace
v8
{
12
namespace
internal
{
13
14
class
SnapshotCompression
:
public
AllStatic
{
15
public
:
16
V8_EXPORT_PRIVATE
static
SnapshotData
Compress
(
17
const
SnapshotData
* uncompressed_data);
18
V8_EXPORT_PRIVATE
static
SnapshotData
Decompress
(
19
base::Vector<const uint8_t>
compressed_data);
20
};
21
22
}
// namespace internal
23
}
// namespace v8
24
25
#endif
// V8_SNAPSHOT_SNAPSHOT_COMPRESSION_H_
v8::base::Vector
Definition
zone-list.h:15
v8::internal::AllStatic
Definition
globals.h:364
v8::internal::SnapshotCompression
Definition
snapshot-compression.h:14
v8::internal::SnapshotCompression::Decompress
static V8_EXPORT_PRIVATE SnapshotData Decompress(base::Vector< const uint8_t > compressed_data)
Definition
snapshot-compression.cc:66
v8::internal::SnapshotCompression::Compress
static V8_EXPORT_PRIVATE SnapshotData Compress(const SnapshotData *uncompressed_data)
Definition
snapshot-compression.cc:21
v8::internal::SnapshotData
Definition
snapshot-data.h:70
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
snapshot-data.h
V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
Definition
macros.h:460
vector.h
src
snapshot
snapshot-compression.h
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0