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-1.4.2 test/data/types_source.py
protobuf-1.4.1 test/data/types_source.py
protobuf-1.4.0 test/data/types_source.py
protobuf-1.3.0 test/data/types_source.py
protobuf-1.1.3 test/data/types_source.py
protobuf-1.1.2 test/data/types_source.py
protobuf-1.1.1 test/data/types_source.py
protobuf-1.1.0.beta2 test/data/types_source.py
protobuf-1.1.0.beta1 test/data/types_source.py
protobuf-1.1.0.beta0 test/data/types_source.py
protobuf-1.0.1 test/data/types_source.py
protobuf-1.0.0 test/data/types_source.py
ruby_protobuf-0.4.11 test/data/types_source.py
ruby_protobuf-0.4.10 test/data/types_source.py
ruby_protobuf-0.4.9 test/data/types_source.py
ruby_protobuf-0.4.8 test/data/types_source.py
ruby_protobuf-0.4.7 test/data/types_source.py
ruby_protobuf-0.4.6 test/data/types_source.py
ruby_protobuf-0.4.5 test/data/types_source.py
ruby_protobuf-0.4.4 test/data/types_source.py