public class EOS_ContinuanceToken
extends com.sun.jna.PointerType
| Constructor and Description |
|---|
EOS_ContinuanceToken() |
EOS_ContinuanceToken(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString()
Retrieve a null-terminated stringified continuance token from an EOS_ContinuanceToken.
|
public EOS_ContinuanceToken(com.sun.jna.Pointer address)
public EOS_ContinuanceToken()
public java.lang.String getString()
throws EOSException
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.
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