Sha256: 9c05dfd3f7ae8e21de703b0e194bfdfd0c47a58c73ebabcff0e6c7e04877ee5f
Contents?: true
Size: 763 Bytes
Versions: 13
Compression:
Stored size: 763 Bytes
Contents
#include <ruby.h> #ifdef HAVE_RB_STR_ENCODE #include <ruby/st.h> #include <ruby/encoding.h> #else #include <st.h> #endif typedef struct { int version; VALUE class_mapper; VALUE stream; long depth; st_table* str_cache; long str_index; st_table* trait_cache; long trait_index; st_table* obj_cache; long obj_index; } AMF_SERIALIZER; void ser_write_byte(AMF_SERIALIZER *ser, char byte); void ser_write_int(AMF_SERIALIZER *ser, int num); void ser_write_uint16(AMF_SERIALIZER *ser, long num); void ser_write_uint32(AMF_SERIALIZER *ser, long num); void ser_write_double(AMF_SERIALIZER *ser, double num); void ser_get_string(VALUE obj, VALUE encode, char** str, long* len); VALUE ser_serialize(VALUE self, VALUE ver, VALUE obj);
Version data entries
13 entries across 13 versions & 4 rubygems