Lines Matching refs:bitstream
2009 * Append Padding Bit to bitstream
2011 * @return array bitstream
2044 * @return array bitstream
2092 * Return new bitstream from number
2095 * @return array bitstream
2112 * Return new bitstream from bytes
2115 * @return array bitstream
2136 * Append one bitstream to another
2137 * @param $bitstream (array) original bitstream
2138 * @param $append (array) bitstream to append
2139 * @return array bitstream
2141 protected function appendBitstream($bitstream, $append) {
2143 return $bitstream;
2145 if (count($bitstream) == 0) {
2148 return array_values(array_merge($bitstream, $append));
2152 * Append one bitstream created from number to another
2153 * @param $bitstream (array) original bitstream
2156 * @return array bitstream
2158 protected function appendNum($bitstream, $bits, $num) {
2163 return $this->appendBitstream($bitstream, $b);
2167 * Append one bitstream created from bytes to another
2168 * @param $bitstream (array) original bitstream
2171 * @return array bitstream
2173 protected function appendBytes($bitstream, $size, $data) {
2178 return $this->appendBitstream($bitstream, $b);
2182 * Convert bitstream to bytes
2183 * @param $bstream (array) original bitstream