Struct nx::file::File [] [src]

pub struct File { /* fields omitted */ }

A memory-mapped NX file.

Methods

impl File
[src]

[src]

Opens an NX file via memory-mapping. This also checks the magic bytes in the header.

This is unsafe because it assumes the NX file is correct and UB may occur if there are mistakes.

[src]

Number of nodes in the file

[src]

Gets the root node of the file.

[src]

Gets the string at the specified index in the string table.

[src]

Gets the node data at the specified index in the node table.

[src]

Gets the audio data at the specified index in the node table.

[src]

Gets the bitmap data at the specified index in the node table.

Trait Implementations

impl Send for File
[src]

impl Sync for File
[src]

Auto Trait Implementations