Sha256: edcf915dabfe4a62c673a7918800f07518ca6e0ed45b56935eaf7e825f5d7d21

Contents?: true

Size: 814 Bytes

Versions: 12

Compression:

Stored size: 814 Bytes

Contents

#include <ruby.h>
#ifdef HAVE_RB_STR_ENCODE
#include <ruby/encoding.h>
#endif

typedef struct {
    int version;
    VALUE class_mapper;
    VALUE src;
    char* stream;
    unsigned long pos;
    unsigned long size;
    VALUE obj_cache;
    VALUE str_cache;
    VALUE trait_cache;
} AMF_DESERIALIZER;

char des_read_byte(AMF_DESERIALIZER *des);
char des_read_ahead_byte(AMF_DESERIALIZER *des);
int des_read_uint16(AMF_DESERIALIZER *des);
unsigned int des_read_uint32(AMF_DESERIALIZER *des);
double des_read_double(AMF_DESERIALIZER *des);
int des_read_int(AMF_DESERIALIZER *des);
VALUE des_read_string(AMF_DESERIALIZER *des, unsigned int len);
VALUE des_read_sym(AMF_DESERIALIZER *des, unsigned int len);
void des_set_src(AMF_DESERIALIZER *des, VALUE src);

VALUE des_deserialize(VALUE self, VALUE ver, VALUE src);

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
mrpin-amf-2.1.12 ext/rocketamf_ext/deserializer.h
mrpin-amf-2.1.11 ext/rocketamf_ext/deserializer.h
mrpin-amf-2.1.10 ext/rocketamf_ext/deserializer.h
mrpin-amf-2.1.9 ext/rocketamf_ext/deserializer.h
mrpin-amf-2.1.8 ext/rocketamf_ext/deserializer.h
mrpin-rocketamf-2.0.1 ext/rocketamf_ext/deserializer.h
mrpin-rocketamf-2.0.0 ext/rocketamf_ext/deserializer.h
mrpin-rocketamf-1.0.4 ext/rocketamf_ext/deserializer.h
mrpin-rocketamf-1.0.3 ext/rocketamf_ext/deserializer.h
mrpin-rocketamf-1.0.2 ext/rocketamf_ext/deserializer.h
scalm-RocketAMF-1.0.0-x86_64-darwin-13 ext/rocketamf_ext/deserializer.h
scalm-RocketAMF-1.0.0 ext/rocketamf_ext/deserializer.h