# std::basic_spanstream<CharT,Traits>::rdbuf

> C++ Atlas: `cppatlas.com/w/cpp/io/basic_spanstream/rdbuf` | Source: https://en.cppreference.com/w/cpp/io/basic_spanstream/rdbuf | Domain: Input/output | Standards: C++23

Returns pointer to the wrapped raw device object.

## Official Specification Summary (cppreference)

```cpp
std::basic_spanbuf<CharT, Traits>* rdbuf() const noexcept; // (since C++23)
```

Returns pointer to the wrapped raw device object.

### Parameters

(none)

### Return value

Pointer to the wrapped raw device object.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`rdbuf`](https://en.cppreference.com/w/cpp/io/basic_ios/rdbuf): manages associated stream buffer (public member function of `std::basic_ios<CharT,Traits>`)

---
Attribution: content from https://en.cppreference.com/w/cpp/io/basic_spanstream/rdbuf (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.