Builds a SoundFont version.
More...
|
override SFVersion | Read (BinaryReader br) |
| Reads a version from the binary reader and adds it to the data collection.
|
|
override void | Write (BinaryWriter bw, SFVersion v) |
| Writes the major and minor version numbers to the specified binary writer.
|
|
|
override int | Length [get] |
| Gets the length of this structure.
|
|
Builds a SoundFont version.
◆ Read()
override SFVersion NAudio.SoundFont.SFVersionBuilder.Read |
( |
BinaryReader | br | ) |
|
|
inline |
Reads a version from the binary reader and adds it to the data collection.
- Parameters
-
br | The binary reader from which to read the version. |
- Returns
- The version read from the binary reader.
This method reads the major and minor version numbers from the binary reader and creates a new SFVersion object with these values. The SFVersion object is then added to the data collection.
◆ Write()
override void NAudio.SoundFont.SFVersionBuilder.Write |
( |
BinaryWriter | bw, |
|
|
SFVersion | v ) |
|
inline |
Writes the major and minor version numbers to the specified binary writer.
- Parameters
-
bw | The binary writer to write the version numbers to. |
v | The SFVersion object containing the version numbers to be written. |
◆ Length
override int NAudio.SoundFont.SFVersionBuilder.Length |
|
get |
Gets the length of this structure.
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Core/FileFormats/SoundFont/SFVersionBuilder.cs