Performs storyboard decoding from a data buffer. If two data buffers were specified, storyboard decoder will try to combine storyboards.
NOTE: Commands from the .osb
file take precedence over those
from the .osu
file within the layers, as if the commands
from the .osb
were appended to the end of the .osu
commands.
The buffer with the main storyboard data (from .osu
or .osb
file).
Optional
secondBuffer: BufferLikeThe buffer with the secondary storyboard data (from .osb
file).
A decoded storyboard.
If storyboard data can't be decoded.
Performs storyboard decoding from a string array. If two string arrays were specified, storyboard decoder will try to combine storyboards.
NOTE: Commands from the .osb
file take precedence over those
from the .osu
file within the layers, as if the commands
from the .osb
were appended to the end of the .osu
commands.
The string array with the main storyboard data (from .osu
or .osb
file).
Optional
secondData: string[]The string array with the secondary storyboard data (from .osb
file).
A decoded storyboard.
If storyboard data can't be decoded.
Performs storyboard decoding from the specified .osu
or .osb
file.
If two paths were specified, storyboard decoder will try to combine storyboards.
NOTE: Commands from the .osb
file take precedence over those
from the .osu
file within the layers, as if the commands
from the .osb
were appended to the end of the .osu
commands.
The path to the main storyboard (.osu
or .osb
file).
Optional
secondPath: stringThe path to the secondary storyboard (.osb
file).
A decoded storyboard.
If file doesn't exist or can't be decoded.
Performs storyboard decoding from a string. If two strings were specified, storyboard decoder will try to combine storyboards.
NOTE: Commands from the .osb
file take precedence over those
from the .osu
file within the layers, as if the commands
from the .osb
were appended to the end of the .osu
commands.
The string with the main storyboard data (from .osu
or .osb
file).
Optional
secondString: stringThe string with the secondary storyboard data (from .osb
file).
A decoded storyboard.
If storyboard data can't be decoded.
A storyboard decoder.