__construct()
getBytes()
getFormat()
getValue()
setBytes()
setFormat()
setValue()
$Bytes
$Format
$Value
This class represents the value of a chunk. Although a value in the chunks is always a string, which of course can also represent an integer, I created a whole class to keep track of other info about the value. Infact, every value has potentially a different format (used by pack and unpack function of PHP to extract the value - more info here: http://php.net/manual/en/function.pack.php) and size (in bytes).
LICENSE: "Audero Wav Extractor" (from now on "The software") is released under the CC BY-NC 3.0 ("Creative Commons Attribution NonCommercial 3.0") license. More details can be found here: http://creativecommons.org/licenses/by-nc/3.0/
WARRANTY: The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
| author | Aurelio De Rosa |
|---|---|
| version | 1.0 |
| license | CC BY-NC 3.0 |
| link | https://bitbucket.org/AurelioDeRosa/audero-wav-extractor |
| package | Audero\AuderoWavExtractor |
__construct(string $Format, int $Bytes)
stringThe format of the field
intThe size of the field
getBytes() : int
intgetFormat() : string
stringgetValue() : mixed
mixedsetBytes(int $Bytes)
setFormat(string $Format)
string
setValue(mixed $Value)
mixed
$Bytes : int
$Format : string
$Value : mixed