Struct beam_file::chunk::RawChunk [] [src]

pub struct RawChunk {
    pub id: Id,
    pub data: Vec<u8>,
}

A raw representation of a chunk.

This implementation does not interpret the data of a chunk at the time of reading it from a BEAM file.

Fields

The identifier of the chunk.

The bare data of the chunk.

Trait Implementations

impl Debug for RawChunk
[src]

Formats the value using the given formatter.

impl PartialEq for RawChunk
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RawChunk
[src]

impl Chunk for RawChunk
[src]

Returns the identifier of the chunk.

Reads a chunk which has the identifier id from reader. Read more

Writes the data of the chunk to writer. Read more

Reads a chunk from reader.

Writes the chunk to writer.