Epok Engine

PSYQO SDK

psyqo::btoi

Function · 1 overload

Function

Performs `btoi` as part of the msf module.

Belongs to
psyqo
Header
msf.hh
Overloads
1

Declaration

Declaration
constexpr uint8_t btoi(uint8_t b)

Performs `btoi` as part of the msf module.

ParameterTypeMeaning
buint8_tValue supplied for b. Keep referenced or pointed-to data valid for the complete call.

Returns: uint8_t. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "psyqo/msf.hh"

// Assume these named values have been initialized with valid data:
// uint8_t b

auto result = psyqo::btoi(b);

Why use it

It provides direct, allocation-conscious access to the msf module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/msf.hh:35

Related members