pub fn into_bytes(self) -> Bytes {
        if let Inner::Primitive(inner) = self.0 {
            return inner
        }
        let mut res = BytesMut::new();
        self.iter().for_each(|x| res.extend_from_slice(x));
        res.freeze()
    }
/// Converts the octet string into bytes value.
///
/// If the octet string was encoded as a single primitive value, the
/// method will simply return the content. Otherwise it will produce
/// an entirely new bytes value from the concatenated content of all
/// the primitive values.
Converts the octet string into bytes value.
If the octet string was encoded as a single primitive value, the
method will simply return the content. Otherwise it will produce
an entirely new bytes value from the concatenated content of all
the primitive values.
Converts the octet string into bytes value . If the octet string was encoded as a single primitive value the method will simply return the content . Otherwise it will produce an entirely new bytes value from the concatenated content of all the primitive values .
pub fn into_bytes(self) -> Bytes {
        if let Inner::Primitive(inner) = self.0 {
            return inner
        }
        let mut res = BytesMut::new();
        self.iter().for_each(|x| res.extend_from_slice(x));
        res.freeze()
    }
pub fn into_bytes ( self ) -> Bytes { if let Inner :: Primitive ( inner ) = self . 0 { return inner } let mut res = BytesMut :: new ( ) ; self . iter ( ) . for_each ( | x | res . extend_from_slice ( x ) ) ; res . freeze ( ) }
Converts the octet string into bytes value.
Converts the octet string into bytes value .
self
self