generate NSData extensions #2