lower static method

RustBuffer lower(
  1. String? value
)

Implementation

static RustBuffer lower(String? value) {
  if (value == null) {
    return toRustBuffer(Uint8List.fromList([0]));
  }
  final length = FfiConverterOptionalString.allocationSize(value);
  final buf = Uint8List(length);
  FfiConverterOptionalString.write(value, buf);
  return toRustBuffer(buf);
}