\Horde_Stream_Filter_Crc32

Stream filter class to compute the CRC32 value of a string.

Usage:

  $params = new stdClass;
  stream_filter_register('horde_crc32', 'Horde_Stream_Filter_Crc32');
  stream_filter_[app|pre]pend($stream, 'horde_crc32',
                              [ STREAM_FILTER_[READ|WRITE|ALL] ],
                              [ $params ]);
  while (fread($stream, 8192)) {}
  // CRC32 data in $params->crc32

Copyright 2011-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
onCreate()
filter()
No public properties found
No constants found
_crc32Combine()
_gf2MatrixSquare()
_gf2MatrixTimes()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

onCreate()

onCreate() 

filter()

filter(  $in,   $out,   $consumed,   $closing) 

Parameters

$in
$out
$consumed
$closing

_crc32Combine()

_crc32Combine(  $crc1,   $crc2,   $len2) 

Parameters

$crc1
$crc2
$len2

_gf2MatrixSquare()

_gf2MatrixSquare(  $square,   $mat) 

Parameters

$square
$mat

_gf2MatrixTimes()

_gf2MatrixTimes(  $mat,   $vec) 

Parameters

$mat
$vec