Метод | Описание | |
---|---|---|
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 |
Результат | self |
public static unexpectedIndex ( integer $index, integer $expectedIndex ) : self | ||
$index | integer | Actual index number (i.e. "n" field) |
$expectedIndex | integer | Expected index number |
Результат | self |
public static unexpectedSize ( integer $size, integer $expectedSize ) : self | ||
$size | integer | Actual size (i.e. "data" field length) |
$expectedSize | integer | Expected size |
Результат | self |