# fidl::CodingTraits\< std::unique_ptr\< T \>, typename std::enable_if::value \>::type \>

## Summary

| ### Public static attributes ||
|---|---|
| `kInlineSize = sizeof(uintptr_t)` | `constexpr size_t` |

| ### Public static functions ||
|---|---|
| `Decode(DecoderImpl *decoder, std::unique_ptr< T > *value, size_t offset)` | `void` |
| `Encode(EncoderImpl *encoder, std::unique_ptr< T > *value, size_t offset, std::optional< HandleInformation > maybe_handle_info)` | `void` |

## Public static attributes

### kInlineSize

```c++
constexpr size_t fidl::CodingTraits< std::unique_ptr< T >, typename std::enable_ifIsFidlXUnion< T >::value >::type >::kInlineSize = sizeof(uintptr_t)
```

## Public static functions

### Decode

```c++
void fidl::CodingTraits< std::unique_ptr< T >, typename std::enable_ifIsFidlXUnion< T >::value >::type >::Decode(
  DecoderImpl *decoder,
  std::unique_ptr< T > *value,
  size_t offset
)
```

### Encode

```c++
void fidl::CodingTraits< std::unique_ptr< T >, typename std::enable_ifIsFidlXUnion< T >::value >::type >::Encode(
  EncoderImpl *encoder,
  std::unique_ptr< T > *value,
  size_t offset,
  std::optional< HandleInformation > maybe_handle_info
)
```