public static Offset <AssetBundleFileHeader> CreateAssetBundleFileHeader(FlatBufferBuilder builder,
                                                                          int subFileCount              = 0,
                                                                          int dependFileCount           = 0,
                                                                          bool isScene                  = false,
                                                                          bool isMainAsset              = false,
                                                                          int compressType              = 0,
                                                                          StringOffset abFileNameOffset = default(StringOffset))
 {
     builder.StartObject(6);
     AssetBundleFileHeader.AddAbFileName(builder, abFileNameOffset);
     AssetBundleFileHeader.AddCompressType(builder, compressType);
     AssetBundleFileHeader.AddDependFileCount(builder, dependFileCount);
     AssetBundleFileHeader.AddSubFileCount(builder, subFileCount);
     AssetBundleFileHeader.AddIsMainAsset(builder, isMainAsset);
     AssetBundleFileHeader.AddIsScene(builder, isScene);
     return(AssetBundleFileHeader.EndAssetBundleFileHeader(builder));
 }
 public static AssetBundleFileHeader GetRootAsAssetBundleFileHeader(ByteBuffer _bb, AssetBundleFileHeader obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }