__construct()
__get()
getChunkSize()
getChunkType()
getId()
getSize()
readData()
setId()
setSize()
toString()
init()
$Id
$Size
ID_FORMAT
ID_SIZE
This is a generic class which represents a chunk. Every chunk which a wav file is composed of, has common features and that is a unique id for its type and a size. Thus in Audero Wav Extractor library every chunk extends this generic class that contains a set of methods which are valid and useful for every extended class.
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(int $Id)
intThe id of the chunk. If not provided 0 will be used
__get(string $Name) : \method
string
\methodgetChunkSize() : int
intgetChunkType(string $Id) : string | null
stringThe id of the chunk
stringnullA string if the chunk is recognized. Null otherwisereadData(resource $Handle) : int
resourceThe handle of the managed file
intThe amount of bytes readtoString() : string
stringinit(int $Id)
intThe id of the chunk
ID_FORMAT
ID_SIZE