Class CXXStdString_cxx_0xcec1e274

  • All Implemented Interfaces:
    com.alibaba.fastffi.FFIBuiltinType, com.alibaba.fastffi.FFIByteString, com.alibaba.fastffi.FFIJava, com.alibaba.fastffi.FFIPointer, com.alibaba.fastffi.FFIStringProvider, com.alibaba.fastffi.FFIStringReceiver, FFIType, com.alibaba.fastffi.impl.CXXStdString, Serializable

    public class CXXStdString_cxx_0xcec1e274
    extends FFIPointerImpl
    implements com.alibaba.fastffi.impl.CXXStdString
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.alibaba.fastffi.impl.CXXStdString

        com.alibaba.fastffi.impl.CXXStdString.Factory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int HASH_SHIFT  
      static int SIZE  
      • Fields inherited from interface com.alibaba.fastffi.impl.CXXStdString

        factory
      • Fields inherited from interface com.alibaba.fastffi.FFIStringProvider

        UTF8
    • Field Detail

      • SIZE

        public static final int SIZE
      • HASH_SHIFT

        public static final int HASH_SHIFT
    • Constructor Detail

      • CXXStdString_cxx_0xcec1e274

        public CXXStdString_cxx_0xcec1e274​(long address)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • byteAt

        public byte byteAt​(long arg0)
        Specified by:
        byteAt in interface com.alibaba.fastffi.impl.CXXStdString
        Specified by:
        byteAt in interface com.alibaba.fastffi.FFIByteString
      • nativeByteAt

        public static byte nativeByteAt​(long ptr,
                                        long arg00)
      • clear

        public void clear()
        Specified by:
        clear in interface com.alibaba.fastffi.impl.CXXStdString
      • nativeClear

        public static void nativeClear​(long ptr)
      • data

        public long data()
        Specified by:
        data in interface com.alibaba.fastffi.impl.CXXStdString
        Specified by:
        data in interface com.alibaba.fastffi.FFIStringProvider
        Specified by:
        data in interface com.alibaba.fastffi.FFIStringReceiver
      • nativeData

        public static long nativeData​(long ptr)
      • reserve

        public void reserve​(long arg0)
        Specified by:
        reserve in interface com.alibaba.fastffi.impl.CXXStdString
      • nativeReserve

        public static void nativeReserve​(long ptr,
                                         long arg00)
      • resize

        public void resize​(long arg0)
        Specified by:
        resize in interface com.alibaba.fastffi.impl.CXXStdString
        Specified by:
        resize in interface com.alibaba.fastffi.FFIStringReceiver
      • nativeResize

        public static void nativeResize​(long ptr,
                                        long arg00)
      • size

        public long size()
        Specified by:
        size in interface com.alibaba.fastffi.impl.CXXStdString
        Specified by:
        size in interface com.alibaba.fastffi.FFIByteString
        Specified by:
        size in interface com.alibaba.fastffi.FFIStringProvider
      • nativeSize

        public static long nativeSize​(long ptr)
      • nativeCreateFactory0

        public static long nativeCreateFactory0()