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.4.3-java test/data/types_source.py
protobuf-2.4.3 test/data/types_source.py
protobuf-2.4.3.rc1 test/data/types_source.py
protobuf-2.4.2-java test/data/types_source.py
protobuf-2.4.2 test/data/types_source.py
protobuf-2.4.1-java test/data/types_source.py
protobuf-2.4.1 test/data/types_source.py
protobuf-2.4.0-java test/data/types_source.py
protobuf-2.4.0 test/data/types_source.py
protobuf-2.3.2-java test/data/types_source.py
protobuf-2.3.2 test/data/types_source.py
protobuf-2.3.1-java test/data/types_source.py
protobuf-2.3.1 test/data/types_source.py
protobuf-2.3.0-java test/data/types_source.py
protobuf-2.3.0 test/data/types_source.py
protobuf-2.2.7-java test/data/types_source.py
protobuf-2.2.7 test/data/types_source.py
protobuf-2.2.6-java test/data/types_source.py
protobuf-2.2.6 test/data/types_source.py
protobuf-2.2.5-java test/data/types_source.py