blob: c9a72877e0c74b054e3a97db163555c589410cad [file] [log] [blame]
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef IO_BUFFER_H_
#define IO_BUFFER_H_
#include "platform/globals.h"
#include "include/dart_api.h"
class IOBuffer {
public:
static Dart_Handle Allocate(intptr_t size, uint8_t **buffer);
private:
DISALLOW_ALLOCATION();
DISALLOW_IMPLICIT_CONSTRUCTORS(IOBuffer);
};
#endif // IO_BUFFER_H_