Attempts to return the buffer associated with the internal stream. In certain circumstances this is more efficient
than copying the stream contents into a new buffer using ToArray. If the internal stream is not a memory stream
will throw InvalidCastException. If access to the buffer is not allowed will throw an UnauthorizedAccessException.
Namespace: NetworkCommsDotNet.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Return Value
Type: Byte[Missing <returns> documentation for "M:NetworkCommsDotNet.Tools.StreamTools.ThreadSafeStream.GetBuffer"]
See Also