Code Monkey home page Code Monkey logo

eamf's People

Contributors

maxlapshin avatar mrinalwadhwa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eamf's Issues

The scope of reference tables

The current encode and decode api functions of the amf3 module can accept a series/list of amf objects.

amf3:encode([undefined,null]) returns <<16#00,16#01>>

The reference tables for Strings, Traits and Objects are maintained all through this one call of decode or encode. It's not clear from the spec if this should be the case ... should the encode and decode functions only deal with one amf object at a time ?

AMF0

implement amf0

object trees and references

There is some issue with object trees and object references ... these tests fail

?_a({object,<<>>,[{<<"a">>,{object,<<"TestClass">>,[{n1,null},{n2,null}]}}, {<<"b">>,{object,<<"TestClass">>,[{n1,null},{n2,null}]}}]},<<16#0A,16#0B,16#01,16#03,16#61,16#0A,16#23,16#13,"TestClass",16#05,16#6E,16#31,16#05,16#6E,16#32,16#01,16#01,16#03,16#62,16#0A, 16#05, 16#01,16#01,16#01>>),
?_a({object,<<>>,[{<<"a">>,{object,<<"TestClass">>,[{n1,null},{n2,null}]}},
                  {<<"b">>,{object,<<"TestClass">>,[{n1,null},{n2,null}]}},
                  {<<"c">>,{object,<<"TestClass">>,[{n1,null},{n2,null}]}},
                  {<<"d">>,{object,<<"TestClass">>,[{n1,null},{n2,null}]}}]},<<16#0A,16#0B,16#01,16#03,16#61,16#0A,16#23,16#13,16#54,16#65,16#73,16#74,16#43,16#6C,16#61,16#73,16#73,16#05,16#6E,16#31,16#05,16#6E,16#32,16#01,16#01,16#03,16#63,16#0A,16#02,16#03,16#62,16#0A,16#02,16#03,16#64,16#0A,16#02,16#01>>)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.