MediaWiki REL1_31
RiffExtractor Class Reference

Static Public Member Functions

static extractUInt32 ( $string)
 Extract a little-endian uint32 from a 4 byte string.
 
static findChunks ( $file, $maxChunks=-1)
 
static findChunksFromFile ( $filename, $maxChunks=-1)
 

Detailed Description

Definition at line 25 of file RiffExtractor.php.

Member Function Documentation

◆ extractUInt32()

static RiffExtractor::extractUInt32 ( $string)
static

Extract a little-endian uint32 from a 4 byte string.

Parameters
string$string4-byte string
Returns
int

Definition at line 96 of file RiffExtractor.php.

Referenced by findChunks().

◆ findChunks()

static RiffExtractor::findChunks ( $file,
$maxChunks = -1 )
static

Definition at line 33 of file RiffExtractor.php.

References extractUInt32().

Referenced by findChunksFromFile().

◆ findChunksFromFile()

static RiffExtractor::findChunksFromFile ( $filename,
$maxChunks = -1 )
static

Definition at line 26 of file RiffExtractor.php.

References findChunks().

Referenced by WebPHandler\extractMetadata().


The documentation for this class was generated from the following file: