libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Blob.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace Ship {
13class Blob final : public Ship::Resource<void> {
14 public:
15 using Resource::Resource;
16
19
24 void* GetPointer() override;
25
30 size_t GetPointerSize() override;
31
33 std::vector<uint8_t> Data;
34};
35}; // namespace Ship
Resource type representing a generic binary blob.
Definition Blob.h:13
void * GetPointer() override
Returns a pointer to the start of the raw byte data.
size_t GetPointerSize() override
Returns the size in bytes of the blob data.
std::vector< uint8_t > Data
Raw binary payload.
Definition Blob.h:33
Blob()
Default-constructs an empty Blob resource.
Typed resource base class that provides a strongly-typed pointer accessor.
Definition Resource.h:73
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14