Class FSBANK_STATEDATA_FAILED.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<FSBANK_STATEDATA_FAILED>, NativeResource, Pointer
Enclosing class:
FSBANK_STATEDATA_FAILED

public static class FSBANK_STATEDATA_FAILED.Buffer extends StructBuffer<FSBANK_STATEDATA_FAILED,FSBANK_STATEDATA_FAILED.Buffer> implements NativeResource
An array of FSBANK_STATEDATA_FAILED structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FSBANK_STATEDATA_FAILED.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by FSBANK_STATEDATA_FAILED.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • errorCode

      public int errorCode()
      Returns:
      the value of the errorCode field.
    • errorString

      public ByteBuffer errorString()
      Returns:
      a ByteBuffer view of the errorString field.
    • errorStringString

      public String errorStringString()
      Returns:
      the null-terminated string stored in the errorString field.
    • errorCode

      public FSBANK_STATEDATA_FAILED.Buffer errorCode(int value)
      Sets the specified value to the errorCode field.
    • errorString

      public FSBANK_STATEDATA_FAILED.Buffer errorString(ByteBuffer value)
      Copies the specified encoded string to the errorString field.