Lines Matching refs:bytes
72 $bytes = array();
82 $this->append($bytes, bindec($byte));
85 $this->prepend($bytes, $padding);
86 $this->prepend($bytes, ASN1DER::encodeLength(count($bytes)));
87 $this->prepend($bytes, ASN1DER::encodeType(ASN1_TAG_BIT_STRING));
89 return $bytes;
96 * @param array $bytes V bytes from the encoding of ASN1BitString TLV
99 public function decodeDER($bytes) { argument
103 $padding = $this->readByte($bytes);
109 while (count($bytes) > 0) {
111 $byte = $this->readByte($bytes);