func NewVolumeMeasurement(flags uint8, tvol, uvol, dvol, tpkt, upkt, dpkt uint64) *IE {
	fields := NewVolumeMeasurementFields(flags, tvol, uvol, dvol, tpkt, upkt, dpkt)
	b, err := fields.Marshal()
	if err != nil {
		return nil
	}
	return New(VolumeMeasurement, b)
}
NewVolumeMeasurement creates a new VolumeMeasurement IE.
package ie
import (
	"encoding/binary"
	"io"
)