michael@0: /* michael@0: * Copyright 2013 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #ifndef SkFlattenableSerialization_DEFINED michael@0: #define SkFlattenableSerialization_DEFINED michael@0: michael@0: #include "SkFlattenable.h" michael@0: michael@0: class SkData; michael@0: michael@0: SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*); michael@0: SK_API SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size, michael@0: SkFlattenable::Type type); michael@0: michael@0: #endif