pub fn new(a: T, b: U) -> Chain<T, U> {
        Chain {
            a: a,
            b: b,
        }
    }
/// Creates a new `Chain` sequencing the provided values.
///
/// # Examples
///
/// ```
/// use bytes::BytesMut;
/// use bytes::buf::Chain;
///
/// let buf = Chain::new(
///     BytesMut::with_capacity(1024),
///     BytesMut::with_capacity(1024));
///
/// // Use the chained buffer
/// ```
Creates a new `Chain` sequencing the provided values.
Creates a new ` Chain ` sequencing the provided values .
pub fn new(a: T, b: U) -> Chain<T, U> {
        Chain {
            a: a,
            b: b,
        }
    }
pub fn new ( a : T , b : U ) -> Chain < T , U > { Chain { a : a , b : b , } }
Creates a new `Chain` sequencing the provided values.
Creates a new ` Chain ` sequencing the provided values .
a
T
b
U
a
T
b
U
examples
```
use bytes::BytesMut;
use bytes::buf::Chain.

let buf = Chain::new(
BytesMut::with_capacity(1024),
BytesMut::with_capacity(1024)).

Use the chained buffer
```
` ` ` use bytes :: BytesMut ; use bytes :: buf :: Chain . let buf = Chain :: new ( BytesMut :: with_capacity ( 1024 ) BytesMut :: with_capacity ( 1024 )) . Use the chained buffer ` ` `