SFML.Net
SoundBuffer Constructor (Byte) |
Construct a sound buffer from a file in memory.
Here is a complete list of all the supported audio formats:
ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam,
w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
Namespace: SFML.Audio
Assembly: sfmlnet-audio-2 (in sfmlnet-audio-2.dll) Version: 2.2.0.0 (2.2.0)

public SoundBuffer( byte[] bytes )
Public Sub New ( bytes As Byte() )
public: SoundBuffer( array<unsigned char>^ bytes )
new : bytes : byte[] -> SoundBuffer
Parameters
- bytes
- Type: SystemByte
Byte array containing the file contents

Exception | Condition |
---|---|
LoadingFailedException |
