I believe all SDKs have a method to cast RAW/Friendly form addresses. For example, in tonweb (https://github.com/toncenter/tonweb/blob/master/src/utils/README.md), you can use
address.hashPart to get the RAW address as wc:hashPart.
Although I have never used this in my projects, the documentation seems to be accurate.
It should be similar for any SDK - you need to find the Address entity and check its methods and properties to see how to retrieve the RAW address.