They are not biased towards your current character, legendary and exotic armour engram rewards are based on RNG (Random Number Generation) and so are completely random. For example the exotic engrams that Xur sells from time to time can give you an item that could be for any of the 3 classes.
See this image for an example of a legendary engram, saying it could be for (Random Class):
However if you get an item for a different class, it's not the end of the world. When you decide to start a second character, or 'alt', you'll have nice equipment waiting for them! Either that, or you can just dismantle for some ascendant materials.