am 9056d20c: DO NOT MERGE    Rewrite PAN_Write in terms of PAN_WriteBuf.

* commit '9056d20c9364cb4829aabeb517b98440aa0d5240':
  DO NOT MERGE    Rewrite PAN_Write in terms of PAN_WriteBuf.