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.
bool write(const char* name,const char* title,const void* data,uint32_t size,unsigned port=0,const CardIcon* icon=nullptr)Writes write as part of asynchronous Memory Card access and files.
| Parameter | Type | Meaning |
|---|---|---|
name | const char * | Not documented; consult the linked header. |
title | const char * | Not documented; consult the linked header. |
data | const void * | Not documented; consult the linked header. |
size | uint32_t | Not documented; consult the linked header. |
port | unsigned int | Not documented; consult the linked header. |
icon | const CardIcon * | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "memory_card.hpp"
// Assume these named values have been initialized with valid data:
// const char * name
// const char * title
// const void * data
// uint32_t size
// unsigned int port
// const CardIcon * icon
epok::MemoryCardService& object = /* obtain a valid instance */;
auto result = object.write(name, title, data, size, port, icon);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/memory_card.hpp:148
attachPerforms `attach` as part of asynchronous Memory Card access and files.MethodbusyPerforms `busy` as part of asynchronous Memory Card access and files.MethoddataPerforms `data` as part of asynchronous Memory Card access and files.Methodfile_countPerforms `file count` as part of asynchronous Memory Card access and files.MethodfilesPerforms `files` as part of asynchronous Memory Card access and files.MethodlistPerforms `list` as part of asynchronous Memory Card access and files.MethodMemoryCardServiceConstructs `epok::MemoryCardService` for asynchronous Memory Card access and files.constructoroperator=Performs `operator =` 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.MethodsizePerforms `size` as part of asynchronous Memory Card access and files.MethodstatusPerforms `status` as part of asynchronous Memory Card access and files.Method