Method | Description | |
---|---|---|
missingChunk ( integer $expectedIndex ) : self | Thrown when a chunk is not found for an expected index. | |
unexpectedIndex ( integer $index, integer $expectedIndex ) : self | Thrown when a chunk has an unexpected index number. | |
unexpectedSize ( integer $size, integer $expectedSize ) : self | Thrown when a chunk has an unexpected data size. |
public static missingChunk ( integer $expectedIndex ) : self | ||
$expectedIndex | integer | Expected index number |
return | self |
public static unexpectedIndex ( integer $index, integer $expectedIndex ) : self | ||
$index | integer | Actual index number (i.e. "n" field) |
$expectedIndex | integer | Expected index number |
return | self |
public static unexpectedSize ( integer $size, integer $expectedSize ) : self | ||
$size | integer | Actual size (i.e. "data" field length) |
$expectedSize | integer | Expected size |
return | self |