BindMessage constructor

BindMessage(
  1. List<ParameterValue> _parameters, {
  2. String portalName = '',
  3. String statementName = '',
  4. required Encoding encoding,
})

Implementation

BindMessage(this._parameters,
    {String portalName = '',
    String statementName = '',
    required Encoding encoding})
    : _typeSpecCount = _parameters.where((p) => p.isBinary).length,
      _portalName = EncodedString(portalName, encoding),
      _statementName = EncodedString(statementName, encoding);