# class OctetString | Helper class for operations with octet strings. More...
Full name | `TelEngine::OctetString`
Definition | `#include <libs/yasn/yateasn.h>`
Inherits | TelEngine::DataBlock [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- inline String getString ()
- inline DataBlock& operator= (const String& value)
- inline DataBlock& operator= (const DataBlock& value)
- inline const String toHexString () const
- inline DataBlock& fromHexString (const String& value)

## Detailed Description

Helper class for operations with octet strings. Helps with conversions from String to/from DataBlock

inline String getString () | ### getString

Get the String contained in this buffer

Returns: String containing the internal data

inline DataBlock& operator= (const String& value) | ### operator=

Reimplemented from DataBlock.

inline DataBlock& operator= (const DataBlock& value) | ### operator=

Reimplemented from DataBlock.

inline const String toHexString () | ### toHexString

[const]

Get the content of the buffer in form of a hexified string

Returns: Hexified string

inline DataBlock& fromHexString (const String& value) | ### fromHexString

Builed this DataBlock from a hexified string

Returns: The DataBlock built from the given hexified string

Generated by: paulc on bussard on Mon Feb 10 13:15:47 2014, using kdoc 2.0a54.