Accepts a buffer of the editable document or part of it, and writes it to an upstream or to a requesting party.
public RasterExceptionCode Write(
Stream stream
)
public:
RasterExceptionCode^ Write(
Stream^ stream
)
def Write(self,stream):
stream
Stream with editable contents, can be all or part of the data.
If Stream
is empty it does not mean it is at the end of the stream and should return RasterExceptionCode.Success in this case.
Value | Description |
---|---|
RasterExceptionCode.Success |
Stream was received successfully. |
RasterExceptionCode.Failed |
Error occurred. Server should return the exception with this error code. |
RasterExceptionCode.UserAborted |
Operation was aborted. |
Servers call Write(Steam) with chunks of data, repeatedly until all data is written or sent. The server must guarantee sequential calls to Write(stream) and that only one thread at a time is writing. On the other hand, Clients read all data in the stream and typically send it upstream to a web client.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document