Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
BLOB.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include <array>
#include <compare>
#include <memory>
#include <vector>
#include "Stroika/Foundation/Common/Common.h"
#include "Stroika/Foundation/Common/Concepts.h"
#include "Stroika/Foundation/Debug/AssertExternallySynchronizedMutex.h"
#include "Stroika/Foundation/Memory/Common.h"
#include "Stroika/Foundation/Streams/InputStream.h"
#include "BLOB.inl"

Go to the source code of this file.

Classes

class  Stroika::Foundation::Memory::BLOB
 
struct  Stroika::Foundation::Memory::BLOB::_IRep
 

Namespaces

namespace  Stroika::Foundation
 
namespace  Stroika::Foundation::Characters
 

Functions

BLOB Stroika::Foundation::Memory::operator""_blob (const char *str, size_t len)
 alias for BLOB::Attach - so treats argument as BLOB of bytes
 

Detailed Description

Note
Code-Status: Beta

Definition in file BLOB.h.

Function Documentation

◆ operator""_blob()

BLOB Stroika::Foundation::Memory::Literals::operator""_blob ( const char *  str,
size_t  len 
)

alias for BLOB::Attach - so treats argument as BLOB of bytes

Example Usage
BLOB b1 = "hello"_blob;
Assert (b.size () == 5);
Assert (b[0] == static_cast<byte> ('h'));

Definition at line 334 of file BLOB.inl.