- Main Page
- Classes
- Files
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# KrBinaryDataResource Class Reference

A data resource stores user data in the dat file. More...

`#include <dataresource.h>`

Inheritance diagram for KrBinaryDataResource:

List of all members.

## Public Member Functions
virtual U32 | Type ()
| The type of the resource. ( ex, KYRATAG_SPRITE ).
virtual const std::string & | TypeName ()
| The name of the type. ( ex, "Sprite" ).
virtual KrBinaryDataResource * | ToBinaryDataResource ()
| Return a pointer if this is a binary data resource.
const U8 * | Data ()
| Get a pointer to the binary data.
int | Length ()
| Get the data length.

## Detailed Description

A data resource stores user data in the dat file.

Kyra does not use or interact with these resources.

The binary data resource stores an arbitrary binary block of data.

See also class KrTextDataResource

See the HTML docs for an example of how to encode user resources.

The documentation for this class was generated from the following file:

- dataresource.h