MediaWiki  1.28.0
RiffExtractor Class Reference

Static Public Member Functions

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

Detailed Description

Definition at line 25 of file RiffExtractor.php.

Member Function Documentation

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.

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

Definition at line 33 of file RiffExtractor.php.

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

Definition at line 26 of file RiffExtractor.php.

Referenced by WebPHandler\extractMetadata().


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