extern void pack_reset(pack_buffer *b);

how to convert in java ?