transferSingleNativeMem method
Future<void>
transferSingleNativeMem({
- Pointer<
NativeType> ? txBuf, - Pointer<
NativeType> ? rxBuf, - required int length,
- SpiTransferProperties? transferProperties,
Implementation
Future<void> transferSingleNativeMem(
{ffi.Pointer? txBuf, ffi.Pointer? rxBuf, required int length, SpiTransferProperties? transferProperties}) {
return transferNativeMem([
SpiTransfer(
data: SpiTransferData.fromNativeMem(txPointer: txBuf, rxPointer: rxBuf, length: length)
as NativeMemSpiTransferData,
properties: transferProperties ?? SpiTransferProperties.defaultProperties)
]);
}