com.alibaba.fastffi.stdcxx.StdString_cxx_0xcec1e274Factory Maven / Gradle / Ivy
The newest version!
package com.alibaba.fastffi.stdcxx;
import com.alibaba.fastffi.llvm.CharPointer;
public class StdString_cxx_0xcec1e274Factory implements StdString.Factory {
public static final StdString.Factory INSTANCE;
static {
INSTANCE = new StdString_cxx_0xcec1e274Factory();
}
public StdString_cxx_0xcec1e274Factory() {
}
public StdString create() {
return new StdString_cxx_0xcec1e274(StdString_cxx_0xcec1e274.nativeCreateFactory0());
}
public StdString create(CharPointer buf) {
return new StdString_cxx_0xcec1e274(StdString_cxx_0xcec1e274.nativeCreateFactory1(((com.alibaba.fastffi.FFIPointerImpl) buf).address));
}
public StdString create(CharPointer buf, long length) {
return new StdString_cxx_0xcec1e274(StdString_cxx_0xcec1e274.nativeCreateFactory2(((com.alibaba.fastffi.FFIPointerImpl) buf).address, length));
}
public StdString create(StdString string) {
return new StdString_cxx_0xcec1e274(StdString_cxx_0xcec1e274.nativeCreateFactory3(((com.alibaba.fastffi.FFIPointerImpl) string).address));
}
}