Class StreamExtensions
Inheritance
StreamExtensions
Assembly: Mapsui.dll
Syntax
public static class StreamExtensions
Methods
|
Edit this page
View Source
IsSvg(Stream)
Detects if stream is svg stream
Declaration
public static bool IsSvg(this Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
stream
|
Returns
Type |
Description |
bool |
true if is svg stream
|
|
Edit this page
View Source
IsXml(Stream)
Declaration
public static bool IsXml(this Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
stream
|
Returns
Type |
Description |
bool |
true if is xml
|
|
Edit this page
View Source
ReadOneSearch(Stream, byte[])
Declaration
public static long ReadOneSearch(this Stream haystack, byte[] needle)
Parameters
Type |
Name |
Description |
Stream |
haystack |
stream to search
|
byte[] |
needle |
pattern to find
|
Returns
Type |
Description |
long |
position
|
|
Edit this page
View Source
ReadOneSearch(Stream, string)
Declaration
public static long ReadOneSearch(this Stream haystack, string needle)
Parameters
Returns
|
Edit this page
View Source
ToBytes(Stream)
Declaration
public static byte[] ToBytes(this Stream input)
Parameters
Type |
Name |
Description |
Stream |
input |
|
Returns