Converting 32-bit (ifInOctets, ifOutOctets) counters to 64-bit (ifHCInOctets, ifHCOutOctets)

Bits received:

32-bit Interface "In":
         Name: ifInOctets
          Oid: .1.3.6.1.2.1.2.2.1.10
Composed Type: Counter32
    Base Type: UNSIGNED32
         Size: 0 .. 4294967295
64-bit Interface "In":
         Name: ifHCInOctets
          Oid: .1.3.6.1.2.1.31.1.1.1.6
Composed Type: Counter64
    Base Type: UNSIGNED64
         Size: 0 .. 18446744073709551615
Bits sent:

32-bit Interface "Out":
         Name: ifOutOctets
          Oid: .1.3.6.1.2.1.2.2.1.16
Composed Type: Counter32
    Base Type: UNSIGNED32
         Size: 0 .. 4294967295
64-bit Interface "Out":
         Name: ifHCOutOctets
          Oid: .1.3.6.1.2.1.31.1.1.1.10
Composed Type: Counter64
    Base Type: UNSIGNED64
         Size: 0 .. 18446744073709551615