pub fn new(values: &'a [T]) -> Self {
        DeltaValueReader {
            remaining: values,
            accumulated: T::default(),
        }
    }
/// Constructs a new `DeltaValueReader` from a slice of values.
///
/// # Examples
///
/// ```no_run
/// use rosm_pbf_reader::{pbf, DeltaValueReader};
///
/// fn process_primitive_block(block: pbf::PrimitiveBlock) {
///     for group in &block.primitivegroup {
///         for way in &group.ways {
///             let refs = DeltaValueReader::new(&way.refs);
///             for node_id in refs {
///                 println!("{}", node_id);
///             }
///         }
///     }
/// }
/// ```
Constructs a new `DeltaValueReader` from a slice of values.
Constructs a new ` DeltaValueReader ` from a slice of values .
pub fn new(values: &'a [T]) -> Self {
        DeltaValueReader {
            remaining: values,
            accumulated: T::default(),
        }
    }
pub fn new ( values : & ' a [ T ] ) -> Self { DeltaValueReader { remaining : values , accumulated : T :: default ( ) , } }
Constructs a new `DeltaValueReader` from a slice of values.
Constructs a new ` DeltaValueReader ` from a slice of values .
values
&'a [T]
values
&'a [T]
examples
```no_run
use rosm_pbf_reader::{pbf, DeltaValueReader}.

fn process_primitive_block(block: pbf::PrimitiveBlock) {
for group in &block.primitivegroup {
for way in &group.ways {
let refs = DeltaValueReader::new(&way.refs);
for node_id in refs {
println!("{}", node_id);
}
}
}
}
```
` ` ` no_run use rosm_pbf_reader :: { pbf DeltaValueReader } . fn process_primitive_block ( block : pbf :: PrimitiveBlock ) { for group in &block . primitivegroup { for way in &group . ways { let refs = DeltaValueReader :: new ( &way . refs ) ; for node_id in refs { println! ( " {} " node_id ) ; } } } } ` ` `