Serialize the object using the given builder, returning the offset.
@override int pack(fb.Builder fbBuilder) { weights.pack(fbBuilder); joints.pack(fbBuilder); vertex.pack(fbBuilder); return fbBuilder.offset; }