Xeno-rat
Loading...
Searching...
No Matches
NAudio.SoundFont.SFVersionBuilder Class Reference

Builds a SoundFont version. More...

Inheritance diagram for NAudio.SoundFont.SFVersionBuilder:
Collaboration diagram for NAudio.SoundFont.SFVersionBuilder:

Public Member Functions

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.
 

Properties

override int Length [get]
 Gets the length of this structure.
 

Detailed Description

Builds a SoundFont version.

Member Function Documentation

◆ 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
brThe 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
bwThe binary writer to write the version numbers to.
vThe SFVersion object containing the version numbers to be written.

Property Documentation

◆ 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: