3 #include "swf_shape_record_end.h"
6 swf_shape_record_end_parse(bitstream_t *bs,
7 swf_shape_record_end_t *shape_record_end) {
8 shape_record_end->shape_record_type = bitstream_getbit(bs);
9 shape_record_end->end_of_shape = bitstream_getbits(bs, 5);
14 swf_shape_record_end_build(bitstream_t *bs,
15 swf_shape_record_end_t *shape_record_end) {
16 bitstream_putbit(bs, shape_record_end->shape_record_type);
17 bitstream_putbits(bs, shape_record_end->end_of_shape, 5);
22 swf_shape_record_end_print(int indent_depth) {
23 print_indent(indent_depth);
24 printf("end_of_shape\n");