Struct beam_file::chunk::StrTChunk
[−]
[src]
pub struct StrTChunk { pub strings: Vec<u8>, }
A representation of the "StrT" chunk.
Fields
strings: Vec<u8>
Concatenated strings.
Trait Implementations
impl Debug for StrTChunk
[src]
impl PartialEq for StrTChunk
[src]
fn eq(&self, __arg_0: &StrTChunk) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StrTChunk) -> bool
This method tests for !=
.
impl Eq for StrTChunk
[src]
impl Chunk for StrTChunk
[src]
fn id(&self) -> &Id
Returns the identifier of the chunk.
fn decode_data<R: Read>(id: &Id, reader: R) -> Result<Self> where
Self: Sized,
Self: Sized,
Reads a chunk which has the identifier id
from reader
. Read more
fn encode_data<W: Write>(&self, writer: W) -> Result<()>
Writes the data of the chunk to writer
. Read more
fn decode<R: Read>(reader: R) -> Result<Self> where
Self: Sized,
Self: Sized,
Reads a chunk from reader
.
fn encode<W: Write>(&self, writer: W) -> Result<()>
Writes the chunk to writer
.