Package web5.sdk.rust
Interface FfiConverter
-
- All Implemented Interfaces:
public interface FfiConverter<KotlinType extends Object, FfiType extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract KotlinTypelift(FfiType value)abstract FfiTypelower(KotlinType value)abstract KotlinTyperead(ByteBuffer buf)abstract ULongallocationSize(KotlinType value)abstract Unitwrite(KotlinType value, ByteBuffer buf)RustBuffer.ByValuelowerIntoRustBuffer(KotlinType value)KotlinTypeliftFromRustBuffer(RustBuffer.ByValue rbuf)-
-
Method Detail
-
lift
abstract KotlinType lift(FfiType value)
-
lower
abstract FfiType lower(KotlinType value)
-
read
abstract KotlinType read(ByteBuffer buf)
-
allocationSize
abstract ULong allocationSize(KotlinType value)
-
write
abstract Unit write(KotlinType value, ByteBuffer buf)
-
lowerIntoRustBuffer
RustBuffer.ByValue lowerIntoRustBuffer(KotlinType value)
-
liftFromRustBuffer
KotlinType liftFromRustBuffer(RustBuffer.ByValue rbuf)
-
-
-
-