public int GenerateNextToken(MSI.IBufferOffsetSize incoming, out MSI.IBufferOffsetSize outgoing) { var input = incoming != null ? new MSI.TlsBuffer(BOSWrapper.Wrap(incoming)) : null; var output = new MSI.TlsMultiBuffer(); var retval = Context.GenerateNextToken(input, output); if (output.IsEmpty) { outgoing = null; } outgoing = BOSWrapper.Wrap(output.StealBuffer()); return((int)retval); }
public int GenerateNextToken (MSI.IBufferOffsetSize incoming, out MSI.IBufferOffsetSize outgoing) { var input = incoming != null ? new MSI.TlsBuffer (BOSWrapper.Wrap (incoming)) : null; var output = new MSI.TlsMultiBuffer (); var retval = Context.GenerateNextToken (input, output); if (output.IsEmpty) outgoing = null; outgoing = BOSWrapper.Wrap (output.StealBuffer ()); return (int)retval; }