APE binary tag structure as returned by BASS_ChannelGetTags(Int32, BASSTag) using the BASS_TAG_APE_BINARY flag.
Inheritance Hierarchy
Un4seen.BassBASS_TAG_APE_BINARY
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class BASS_TAG_APE_BINARY
The BASS_TAG_APE_BINARY type exposes the following members.
Properties
Name | Description | |
---|---|---|
Data |
The binary tag data.
| |
Key |
The name of the tag.
| |
Length |
The size of Data in bytes.
|
Methods
Name | Description | |
---|---|---|
FromIntPtr |
Creates an instance of the BASS_TAG_APE_BINARY class from a pointer.
| |
GetTag |
Gets a BASS_TAG_APE_BINARY tag from a given channel handle.
| |
ToString |
Returns the Key of the binary tag.
(Overrides ObjectToString.) |
Remarks
When calling BASS_ChannelGetTags(Int32, BASSTag) with the BASS_TAG_APE_BINARY flag make sure to add the index number of the binray tag to get. E.g. call:
Bass.BASS_ChannelGetTags( stream, (BASSTag)(BASSTag.BASS_TAG_APE_BINARY + 1) )
Examples
BASS_TAG_APE_BINARY apeBin; for (int n = 0; (apeBin = BASS_TAG_APE_BINARY.GetTag(stream, n)) != null; n++) { Console.WriteLine(apeBin); // access the binary data byte[] data = apeBin.Data; }
See Also