use shared_ptr as forward declaration of BytArray