Sha256: c81cc5413e1e00af27f77a75c65873100d7d59dd87f5b2e8cf24720764646bf6

Contents?: true

Size: 407 Bytes

Versions: 147

Compression:

Stored size: 407 Bytes

Contents

import types_pb2
import sys

types = types_pb2.TestTypes()
types.type1 = 0.01
types.type2 = 0.1
types.type3 = 1
types.type4 = 10
types.type5 = 100
types.type6 = 1000
types.type7 = -1
types.type8 = -10
types.type9 = 10000
types.type10 = 100000
types.type11 = False
types.type12 = 'hello all types'
# TODO test type13
#types.type13 = 

f = open('types.bin', 'wb')
f.write(types.SerializeToString())
f.close()

Version data entries

147 entries across 147 versions & 3 rubygems

Version Path
protobuf-2.7.11 test/data/types_source.py
protobuf-2.8.0.beta1-java test/data/types_source.py
protobuf-2.8.0.beta1 test/data/types_source.py
protobuf-2.7.10-java test/data/types_source.py
protobuf-2.7.10 test/data/types_source.py
protobuf-2.7.9-java test/data/types_source.py
protobuf-2.7.9 test/data/types_source.py
protobuf-2.7.8-java test/data/types_source.py
protobuf-2.7.8 test/data/types_source.py
protobuf-2.7.7-java test/data/types_source.py
protobuf-2.7.7 test/data/types_source.py
protobuf-2.7.6-java test/data/types_source.py
protobuf-2.7.6 test/data/types_source.py
protobuf-2.7.5-java test/data/types_source.py
protobuf-2.7.5 test/data/types_source.py
protobuf-2.7.4-java test/data/types_source.py
protobuf-2.7.4 test/data/types_source.py
protobuf-2.7.3-java test/data/types_source.py
protobuf-2.7.3 test/data/types_source.py
protobuf-2.7.2-java test/data/types_source.py