2013-08-08 19:20:05 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2013-10-28 15:52:02 +00:00
|
|
|
#include "SkFlattenable.h"
|
2013-08-08 19:20:05 +00:00
|
|
|
|
|
|
|
class SkData;
|
|
|
|
|
2013-10-28 15:52:02 +00:00
|
|
|
SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*);
|
2016-04-04 21:57:19 +00:00
|
|
|
SK_API SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size,
|
2016-04-05 19:00:49 +00:00
|
|
|
SkFlattenable::Type type);
|
2013-10-28 15:52:02 +00:00
|
|
|
|
2013-08-08 19:20:05 +00:00
|
|
|
#endif
|