IBatch constructor

IBatch(
  1. FbInterface self
)

Implementation

IBatch(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 13;
  var idx = startIndex;
  _add = Pointer<
          NativeFunction<
              Void Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _addBlob = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Uint8>,
                  Pointer<IscQuad>,
                  UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _appendBlobData = Pointer<
          NativeFunction<
              Void Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _addBlobStream = Pointer<
          NativeFunction<
              Void Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _registerBlob = Pointer<
          NativeFunction<
              Void Function(FbInterface, FbInterface, Pointer<IscQuad>,
                  Pointer<IscQuad>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _execute = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface,
                  FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _cancel = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getBlobAlignment = Pointer<
          NativeFunction<
              UnsignedInt Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getMetadata = Pointer<
          NativeFunction<
              FbInterface Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _setDefaultBpb = Pointer<
          NativeFunction<
              Void Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _deprecatedClose = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _close = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getInfo = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Uint8>,
                  UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
}