Example #1
0
 /**
  * Create a ParseBytes object with a given byte array.
  *
  * @param array $byteArray
  *
  * @return ParseBytes
  */
 public static function createFromByteArray(array $byteArray)
 {
     $bytes = new self();
     $bytes->setByteArray($byteArray);
     return $bytes;
 }