aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkFlattenableSerialization.h
blob: 2ed244c1ed1d0d6e5f3f45894151da3c8afa7388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright 2013 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkFlattenableSerialization_DEFINED
#define SkFlattenableSerialization_DEFINED

#include "SkTypes.h"

class SkData;
class SkFlattenable;

SK_API SkData* SkSerializeFlattenable(SkFlattenable*);
SK_API SkFlattenable* SkDeserializeFlattenable(const void* data, size_t size);

#endif