Package io.github.libsdl4j.api.guid
Class SdlGuid
- java.lang.Object
-
- io.github.libsdl4j.api.guid.SdlGuid
-
-
Constructor Summary
Constructors Constructor Description SdlGuid()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SDL_GUID
SDL_GUIDFromString(String pchGUID)
Convert a GUID string into aSDL_GUID
structure.static String
SDL_GUIDToString(SDL_GUID guid)
Get an ASCII string representation for a givenSDL_GUID
.
-
-
-
Method Detail
-
SDL_GUIDToString
public static String SDL_GUIDToString(SDL_GUID guid)
Get an ASCII string representation for a givenSDL_GUID
.You should supply at least 33 bytes for pszGUID.
- Parameters:
guid
- theSDL_GUID
you wish to convert to string- Since:
- This function is available since SDL 2.24.0.
- See Also:
SDL_GUIDFromString(String)
-
SDL_GUIDFromString
public static SDL_GUID SDL_GUIDFromString(String pchGUID)
Convert a GUID string into aSDL_GUID
structure.Performs no error checking. If this function is given a string containing an invalid GUID, the function will silently succeed, but the GUID generated will not be useful.
- Parameters:
pchGUID
- string containing an ASCII representation of a GUID- Returns:
- a
SDL_GUID
structure. - Since:
- This function is available since SDL 2.24.0.
- See Also:
SDL_GUIDToString(SDL_GUID)
-
-