Class CharSequenceArrayParameterConverter.StringArray

    • Field Detail

      • memory

        private final Pointer memory
      • stringMemory

        private java.util.List<Pointer> stringMemory
      • charset

        private final java.nio.charset.Charset charset
    • Constructor Detail

      • StringArray

        private StringArray​(Runtime runtime,
                            Pointer memory,
                            int capacity)
    • Method Detail

      • get

        java.lang.String get​(int idx)
      • put

        void put​(int idx,
                 java.lang.CharSequence str)
      • size

        public long size()
        Description copied from class: Pointer
        Gets the size of this memory object in bytes (optional operation).
        Specified by:
        size in class Pointer
        Returns:
        the size of the memory area this Pointer points to. If the size is unknown, Long.MAX_VALUE is returned}.