1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 11:45:38 +02:00

Additional comments

This commit is contained in:
John Cortell 2007-02-13 13:08:05 +00:00
parent 29c91c21cb
commit d6bcb20759

View file

@ -33,12 +33,16 @@ public interface ICDIMemorySpaceManagement extends ICDIObject {
String addressToString(BigInteger address, String memorySpaceID); String addressToString(BigInteger address, String memorySpaceID);
/** /**
* The inverse of addressToString * The inverse of addressToString. Optionally decodes a memoryspace/address
* string to its components. Client must provide decoding if it provides
* encoding in addressToString. Conversely, it should return null if
* addressToString returns null.
* *
* @param str - the encoded string (contains memory space + hex address value) * @param str - the encoded string (contains memory space + hex address value)
* @param memorySpaceID_out the memory space ID * @param memorySpaceID_out the memory space ID
* @return the BigInteger part of str; client should return null if the default decoding provided * @return the BigInteger part of str; client should return null if the default decoding provided
* by CDT is sufficient (<memory-space-id>:<address(hex)>) * by CDT is sufficient (<memory-space-id>:<address(hex)>)
* @throws CDIException if string is not in the expected format
*/ */
BigInteger stringToAddress(String str, StringBuffer memorySpaceID_out) throws CDIException; BigInteger stringToAddress(String str, StringBuffer memorySpaceID_out) throws CDIException;