[PATCH 5/5] sapi: Implement IStream methods for SpStream.