internal static Offset <ModificationBuffer> CreateModificationBuffer(FlatBufferBuilder builder,
                                                                      int structureLength                     = 0,
                                                                      int modificationType                    = 0,
                                                                      int cosignatoryPublicKeyLen             = 0,
                                                                      VectorOffset cosignatoryPublicKeyOffset = default(VectorOffset))
 {
     builder.StartObject(4);
     ModificationBuffer.AddCosignatoryPublicKey(builder, cosignatoryPublicKeyOffset);
     ModificationBuffer.AddCosignatoryPublicKeyLen(builder, cosignatoryPublicKeyLen);
     ModificationBuffer.AddModificationType(builder, modificationType);
     ModificationBuffer.AddStructureLength(builder, structureLength);
     return(ModificationBuffer.EndModificationBuffer(builder));
 }
 internal static ModificationBuffer GetRootAsModificationBuffer(ByteBuffer _bb, ModificationBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }