chromium/third_party/skia/src/base/SkBuffer.cpp

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/base/SkBuffer.h"

#include "include/private/base/SkAlign.h"
#include "include/private/base/SkMalloc.h"

#include <cstdint>

///////////////////////////////////////////////////////////////////////////////////////////////////

const void* SkRBuffer::skip(size_t size) {}

bool SkRBuffer::read(void* buffer, size_t size) {}

bool SkRBuffer::skipToAlign4() {}

///////////////////////////////////////////////////////////////////////////////////////////////////

void* SkWBuffer::skip(size_t size) {}

void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size) {}

size_t SkWBuffer::padToAlign4() {}

#if 0
#ifdef SK_DEBUG
    static void AssertBuffer32(const void* buffer)
    {
        SkASSERT(buffer);
        SkASSERT(((size_t)buffer & 3) == 0);
    }
#else
    #define AssertBuffer32
#endif

#endif