Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Writes write as part of asynchronous Memory Card access and files.
void write(unsigned p,const char* name,const char* title,const CardIcon& icon,const void* data,uint32_t size,void* owner,Completion complete)overrideWrites write as part of asynchronous Memory Card access and files.
| Parameter | Type | Meaning |
|---|---|---|
p | unsigned int | Not documented; consult the linked header. |
name | const char * | Not documented; consult the linked header. |
title | const char * | Not documented; consult the linked header. |
icon | const CardIcon & | Not documented; consult the linked header. |
data | const void * | Not documented; consult the linked header. |
size | uint32_t | Not documented; consult the linked header. |
owner | void * | Not documented; consult the linked header. |
complete | Completion | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "memory_card_backend.hpp"
// Assume these named values have been initialized with valid data:
// unsigned int p
// const char * name
// const char * title
// const CardIcon & icon
// const void * data
// uint32_t size
// void * owner
// Completion complete
epok::PsyqoMemoryCardDriver& object = /* obtain a valid instance */;
object.write(p, name, title, icon, data, size, owner, complete);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/memory_card_backend.hpp:23
idlePerforms `idle` as part of asynchronous Memory Card access and files.MethodlistPerforms `list` as part of asynchronous Memory Card access and files.MethodpreparePerforms `prepare` as part of asynchronous Memory Card access and files.MethodprobePerforms `probe` as part of asynchronous Memory Card access and files.MethodreadReads read as part of asynchronous Memory Card access and files.Method