Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrays support #63

Merged
merged 1 commit into from
Sep 20, 2017
Merged

Arrays support #63

merged 1 commit into from
Sep 20, 2017

Conversation

boguslavsky
Copy link
Contributor

@boguslavsky boguslavsky commented Sep 12, 2017

Add support of Arrays with following syntax:

      var Arr = Exonum.newArray({
        size: 8,
        type: Exonum.Uint64
      })
      var Type = Exonum.newType({
        size: 8,
        fields: {
          list: {type: Arr, size: 8, from: 0, to: 8}
        }
      })
      var data = {
        list: [
          167,
          102851,
          22210,
          724
        ]
      }
      var buffer = Type.serialize(data)

@boguslavsky boguslavsky changed the title WIP: Arrays Arrays support Sep 14, 2017
@exonum exonum deleted a comment from coveralls Sep 14, 2017
@exonum exonum deleted a comment from coveralls Sep 14, 2017
@exonum exonum deleted a comment from coveralls Sep 14, 2017
@coveralls
Copy link

coveralls commented Sep 20, 2017

Coverage Status

Coverage increased (+0.7%) to 90.983% when pulling 4600be6 on boguslavsky:arrays into a1d9d3d on exonum:master.

@coveralls
Copy link

coveralls commented Sep 20, 2017

Coverage Status

Coverage increased (+0.7%) to 90.917% when pulling d831de1 on boguslavsky:arrays into effa88b on exonum:master.

@boguslavsky boguslavsky merged commit 5a9e4ae into exonum:master Sep 20, 2017
@boguslavsky boguslavsky deleted the arrays branch September 20, 2017 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants