ludus::runtime::game_api::ByteView¶
Ludus Wiki · API overview · Browse API
Struct
A borrowed, bounded byte view.
Valid only for the duration of the call that received it; the host copies anything it retains. Wire/on-disk lengths use explicit fixed-width integers with checked conversion (design 6).
Declared in modules/runtime/game_api/include/ludus/runtime/game_api/api.h
#include <ludus/runtime/game_api/api.h>
struct ludus::runtime::game_api::ByteView final
Fields¶
Data¶
const uint8* ludus::runtime::game_api::ByteView::Data = nullptr
Related types: uint8
Declared in modules/runtime/game_api/include/ludus/runtime/game_api/api.h
Size¶
usize ludus::runtime::game_api::ByteView::Size = 0
Related types: usize
Declared in modules/runtime/game_api/include/ludus/runtime/game_api/api.h