# tflite::FileCopyAllocation

## Summary

### Inheritance

Inherits from: tflite::Allocation

### Constructors and Destructors
`FileCopyAllocation(const char *filename, ErrorReporter *error_reporter)` Loads the provided file into a heap memory region.
`~FileCopyAllocation()`

### Public functions
`base() const override` | `const void *`
`bytes() const override` | `size_t`
`valid() const override` | `bool`

## Public functions

### FileCopyAllocation

     FileCopyAllocation(
      const char *filename,
      ErrorReporter *error_reporter
    )

Loads the provided file into a heap memory region.

### base

    const void * base() const override

### bytes

    size_t bytes() const override

### valid

    bool valid() const override

### ~FileCopyAllocation

     ~FileCopyAllocation() override