userver: storages::odbc::Bytes Class Reference
Loading...
Searching...
No Matches
storages::odbc::Bytes Class Referencefinal

#include </data/code/userver/odbc/include/userver/storages/odbc/types.hpp>

Detailed Description

Owning byte sequence for SQL BINARY, VARBINARY and LONGVARBINARY.

Definition at line 20 of file types.hpp.

Public Types

using ValueType = std::uint8_t
using Container = std::vector<ValueType>

Public Member Functions

 Bytes (Container bytes)
 Bytes (std::initializer_list< ValueType > bytes)
const Container & GetBytes () const noexcept
std::size_t Size () const noexcept
bool IsEmpty () const noexcept
bool operator== (const Bytes &) const noexcept=default

Member Typedef Documentation

◆ Container

using storages::odbc::Bytes::Container = std::vector<ValueType>

Definition at line 23 of file types.hpp.

◆ ValueType

using storages::odbc::Bytes::ValueType = std::uint8_t

Definition at line 22 of file types.hpp.


The documentation for this class was generated from the following file:
  • /data/code/userver/odbc/include/userver/storages/odbc/types.hpp