/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkData_DEFINED #define SkData_DEFINED #include "include/core/SkRefCnt.h" #include "include/private/base/SkAPI.h" #include "include/private/base/SkAssert.h" #include <cstdint> #include <cstdio> class SkStream; /** * SkData holds an immutable data buffer. Not only is the data immutable, * but the actual ptr that is returned (by data() or bytes()) is guaranteed * to always be the same for the life of this instance. */ class SK_API SkData final : public SkNVRefCnt<SkData> { … }; #endif