public function ua2bin(array $uint8)
    {
        $bin = "";
        foreach ($uint8 as $ix => $char) {
            $buf = Buffer::fromInt($char, 1);
            $bin .= $buf->getBinary();
        }

        $buffer = new Buffer($bin);
        return $buffer->getBinary();
    }
public function ua2bin(array $uint8)
    {
        $bin = "";
        foreach ($uint8 as $ix => $char) {
            $buf = Buffer::fromInt($char, 1);
            $bin .= $buf->getBinary();
        }

        $buffer = new Buffer($bin);
        return $buffer->getBinary();
    }
public function ua2bin ( array $ uint8 ) { $ bin = "" ; foreach ( $ uint8 as $ ix => $ char ) { $ buf = Buffer :: fromInt ( $ char , 1 ) ; $ bin .= $ buf -> getBinary ( ) ; } $ buffer = new Buffer ( $ bin ) ; return $ buffer -> getBinary ( ) ; }
Encode a UInt8 array to its bytes representation.

@param   array   $uint8      UInt8 array to convert to its bytes representation.
@return  string              Byte-level representation of the UInt8 array.
Encode a UInt8 array to its bytes representation .