libzypp: zypp::ByteArray Class Reference

libzypp 17.38.11

zypp::ByteArray Class Reference

`#include <zypp-core/ByteArray.h>`

Inheritance diagram for zypp::ByteArray:

## Public Member Functions
| ByteArray (const std::string &data)
| ByteArray (const char *data, const int len=-1)
std::string | asString () const
std::string | asString (size_t maxsize_r) const

## Static Public Member Functions
static std::size_t | maxSize ()

## Detailed Description

Definition at line 19 of file ByteArray.h.

## Constructor & Destructor Documentation

## ◆ ByteArray() [1/2]

zypp::ByteArray::ByteArray | ( | const std::string & | data | ) |
| inlineexplicit

Definition at line 23 of file ByteArray.h.

## ◆ ByteArray() [2/2]

zypp::ByteArray::ByteArray | ( | const char * | data,
|  | const int | len = -1 )
| inlineexplicit

Definition at line 24 of file ByteArray.h.

## Member Function Documentation

## ◆ asString() [1/2]

std::string zypp::ByteArray::asString | ( |  | ) | const
| inline

Definition at line 25 of file ByteArray.h.

## ◆ asString() [2/2]

std::string zypp::ByteArray::asString | ( | size_t | maxsize_r | ) | const
| inline

Definition at line 30 of file ByteArray.h.

## ◆ maxSize()

std::size_t zypp::ByteArray::maxSize | ( |  | ) |
| inlinestatic

Definition at line 44 of file ByteArray.h.

The documentation for this class was generated from the following file:

- zypp-core/ByteArray.h