Epok Engine

EPOK RUNTIME

epok::PsyqoMemoryCardDriver::write

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.

Method

Writes write as part of asynchronous Memory Card access and files.

Belongs to
epok::PsyqoMemoryCardDriver
Header
memory_card_backend.hpp
Overloads
1

Declaration

Declaration
void write(unsigned p,const char* name,const char* title,const CardIcon& icon,const void* data,uint32_t size,void* owner,Completion complete)override

Writes write as part of asynchronous Memory Card access and files.

ParameterTypeMeaning
punsigned intNot documented; consult the linked header.
nameconst char *Not documented; consult the linked header.
titleconst char *Not documented; consult the linked header.
iconconst CardIcon &Not documented; consult the linked header.
dataconst void *Not documented; consult the linked header.
sizeuint32_tNot documented; consult the linked header.
ownervoid *Not documented; consult the linked header.
completeCompletionNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#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);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/memory_card_backend.hpp:23

Related members