Comments (1)
We should fix the example in the README, then. The type-specs have been updated to reflect the fact that encoding no longer aggressively flattens the iolists it builds. If you need to have a flat binary (which you shouldn't if you're encoding for transmission over the network or to disk), then simply wrap that call in iolist_to_binary/1
.
from erlang_protobuffs.
Related Issues (20)
- protobuffs_tests: proper_specs_test...*failed* [JIRA: RIAK-2577] HOT 13
- encode ok, but decode failed [JIRA: RIAK-3393] HOT 1
- protobuf3 support? [JIRA: RIAK-3397] HOT 1
- How to encode/decode extensions? HOT 1
- What's the equivalent method for the java method "registerAllExtensions()"? HOT 1
- Add erlang types to compiled record definitions [JIRA: RIAK-2279] HOT 4
- Generate default values in hrl headers for required field(s) [JIRA: RIAK-2278] HOT 2
- why not support pb_file.pb_person HOT 2
- Please help with compiling this HOT 3
- import conflict [JIRA: RIAK-3394] HOT 2
- Decode as list rather than binary string? [JIRA: RIAK-2282] HOT 2
- a bug for imports_dir options HOT 1
- basho erlang_protobuffs not working HOT 2
- license file is missing - do you mind adding it? HOT 1
- ** exception error: undefined function protobuffs:encode/3 HOT 1
- use otp 18, there is a warning in the decode_extensions function [JIRA: RIAK-2272] HOT 2
- Optional boolean fields not defaulting to "false" [JIRA: RIAK-2271] HOT 1
- Investigate "gpb" library [JIRA: RIAK-2277]
- decode into binary [JIRA: RIAK-2442] HOT 1
- have you think about change the data structure from record to map ? [JIRA: RIAK-2522] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erlang_protobuffs.