Riff
|
public class RiffChunk : ISupportBinaryImage
The RiffChunk type exposes the following members.
Name | Description | |
---|---|---|
RiffChunk(String) | Constructs a new RiffChunk for the given typeID. | |
RiffChunk(RiffChunk, String) | Constructor for derived classes used to initialize and validate RiffChunk properties. |
Name | Description | |
---|---|---|
BinaryLength | Gets the length of a RiffChunk consisting of type ID and chunk size (i.e., 8 bytes). | |
ChunkSize | Size of RiffChunk. | |
TypeID | Four character text identifer for RIFF chunk. |
Name | Description | |
---|---|---|
Clone | Creates a copy of the RiffChunk. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GenerateBinaryImage | Generates a binary representation of this RiffChunk and copies it into the given buffer. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ReadNext | Attempts to read the next RIFF chunk from the source stream. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
FixedLength | The fixed byte length of a RiffChunk instance. |
Name | Description | |
---|---|---|
BinaryImage |
Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions) | |
CopyBinaryImageToStream |
Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions) | |
CopyImage |
This is a common optimized block copy function for any kind of data.
(Defined by Common) | |
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
ParseBinaryImageFromStream |
Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions) |
The Resource Interchange File Format (RIFF) is a generic meta-format for storing data in tagged chunks. It was introduced in 1991 by Microsoft and IBM, and was presented by Microsoft as the default format for Windows 3.1 multimedia files. It is based on Electronic Arts's Interchange File Format, introduced in 1985, the only difference being that multi-byte integers are in little-endian format, native to the 80x86 processor series used in IBM PCs, rather than the big-endian format native to the 68k processor series used in Amiga and Apple Macintosh computers, where IFF files were heavily used. (The specification for AIFF, the big-endian analogue of RIFF, was published by Apple Computer in 1988.) The Microsoft implementation is mostly known through file formats like AVI, ANI and WAV, which use the RIFF meta-format as their basis.
Some common RIFF file types:
File extension | Description |
---|---|
WAV | Windows audio file |
AVI | Windows audio/video file |
ANI | Animated Windows cursors |
RMI | Windows RIFF MIDI file |
CDR | CorelDRAW vector graphics file |