#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