skia2/include/core/SkFlattenableSerialization.h
2013-11-08 15:24:12 +00:00

20 lines
520 B
C++

/*
* 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 "SkFlattenable.h"
class SkData;
SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*);
SK_API SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size,
SkFlattenable::Type type);
#endif