Package host.anzo.eossdk.eos.sdk.common
Class EOS_ContinuanceToken
java.lang.Object
com.sun.jna.PointerType
host.anzo.eossdk.eos.sdk.common.EOS_ContinuanceToken
- All Implemented Interfaces:
com.sun.jna.NativeMapped
public class EOS_ContinuanceToken
extends com.sun.jna.PointerType
A handle to a continuance token
- Since:
- 8/5/2023
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Constructor Details
-
EOS_ContinuanceToken
public EOS_ContinuanceToken(com.sun.jna.Pointer address) -
EOS_ContinuanceToken
public EOS_ContinuanceToken()
-
-
Method Details
-
getString
Retrieve a null-terminated stringified continuance token from an EOS_ContinuanceToken.To get the required buffer size, call once with OutBuffer set to NULL, InOutBufferLength will contain the buffer size needed. Call again with valid params to get the stringified continuance token which will only contain UTF8-encoded printable characters as well as the null-terminator.
- Returns:
- The continuance token stringified version
- Throws:
EOSInvalidParametersException
- Either OutBuffer or InOutBufferLength were passed as NULL parameters.EOSInvalidUserException
- The AccountId is invalid and cannot be stringified.EOSLimitExceededException
- The OutBuffer is not large enough receive the continuance token string. InOutBufferLength contains the required minimum length to perform the operation successfully.EOSException
-