Extensions

Static members

Static memberDescription
CopyTo(source, destination, buffer)
Signature: (source:Stream * destination:Stream * buffer:byte []) -> int64
CopyTo(source, destination, bufferLen)
Signature: (source:Stream * destination:Stream * bufferLen:int) -> int64

Copies an stream to another stream using the buffer with specified size.

GetString(stream)
Signature: stream:Stream -> string
SaveTo(sBuilder, path)
Signature: (sBuilder:StringBuilder * path:string) -> unit
SaveTo(text, path)
Signature: (text:string * path:string) -> unit
ToByteArray(stream)
Signature: stream:Stream -> byte []

This is a snippet by Chuhukon see: http://www.koodr.com/item/e207aa7f-0ff1-4e8a-a703-e96f2f175bc9

ToMemoryStream(buffer)
Signature: (buffer:byte []) -> MemoryStream