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
macks-ruby_protobuf-0.3.2.1 test/data/types_source.py
macks-ruby_protobuf-0.3.2.2 test/data/types_source.py
macks-ruby_protobuf-0.3.2.3 test/data/types_source.py
macks-ruby_protobuf-0.3.3 test/data/types_source.py
protobuf-2.7.12 test/data/types_source.py
protobuf-2.8.0.beta9-java test/data/types_source.py
protobuf-2.8.0.beta9 test/data/types_source.py
protobuf-2.8.0.beta8-java test/data/types_source.py
protobuf-2.8.0.beta8 test/data/types_source.py
protobuf-2.8.0.beta6-java test/data/types_source.py
protobuf-2.8.0.beta6 test/data/types_source.py
protobuf-2.8.0.beta5-java test/data/types_source.py
protobuf-2.8.0.beta5 test/data/types_source.py
protobuf-2.8.0.beta4-java test/data/types_source.py
protobuf-2.8.0.beta4 test/data/types_source.py
protobuf-2.8.0.beta3-java test/data/types_source.py
protobuf-2.8.0.beta3 test/data/types_source.py
protobuf-2.8.0.beta2-java test/data/types_source.py
protobuf-2.8.0.beta2 test/data/types_source.py
protobuf-2.7.11-java test/data/types_source.py