# <small>nlohmann::byte_container_with_subtype::</small>byte_container_with_subtype

```cpp
// (1)
byte_container_with_subtype();

// (2)
byte_container_with_subtype(const container_type& container);
byte_container_with_subtype(container_type&& container);

// (3)
byte_container_with_subtype(const container_type& container, subtype_type subtype);
byte_container_with_subtype(container_type&& container, subtype_type subtype);
```

1. Create an empty binary container without a subtype.
2. Create a binary container without a subtype.
3. Create a binary container with a subtype.

## Parameters

`container` (in)
:   binary container

`subtype` (in)
:   subtype

## Examples

??? example

    The example below demonstrates how byte containers can be created.

    ```cpp
    --8<-- "examples/byte_container_with_subtype__byte_container_with_subtype.cpp"
    ```
    
    Output:
    
    ```json
    --8<-- "examples/byte_container_with_subtype__byte_container_with_subtype.output"
    ```

## Version history

Since version 3.8.0.
