Added convenience initializer for NSData encoded data.