Fix encoding for float64 and generate conversion for Timestamp 05/29605/2
authorOndrej Fabry <ofabry@cisco.com>
Fri, 23 Oct 2020 09:40:18 +0000 (11:40 +0200)
committerOndrej Fabry <ofabry@cisco.com>
Fri, 30 Oct 2020 10:00:00 +0000 (10:00 +0000)
commit0f46871b4cc45f2c3bd5bdb0aa0f7615795a2c6d
tree3d3de8febc3e2becfbbbd648538fc5dd1748374f
parentcb540dc166c12180adba024d5b8fd463d2582928
Fix encoding for float64 and generate conversion for Timestamp

- fixes encoding/decoding of float64 - uses little endian (contrary to all other types)
- generates helper methods for vpe_types.Timestamp type
- adds usage code to simple-client and binapi-types examples

Change-Id: I2e83eee0629eb67964049406c50c7ee0a692ccaf
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
binapi/vpe_types/vpe_types.ba.go
binapigen/gen_helpers.go
binapigen/gen_helpers_test.go
binapigen/generate.go
codec/codec.go
examples/binapi-types/binapi_types.go
examples/simple-client/simple_client.go