Class StreamExtensions
Inheritance
System.Object
StreamExtensions
Assembly: Syncfusion.Pdf.Portable.dll
Syntax
public static class StreamExtensions : Object
Methods
IsBmp(Stream)
Declaration
public static bool IsBmp(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
IsJpeg(Stream)
Declaration
public static bool IsJpeg(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
IsPng(Stream)
Declaration
public static bool IsPng(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadByte(Stream)
Declaration
public static int ReadByte(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadInt16(Stream)
Declaration
public static int ReadInt16(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadInt32(Stream)
Declaration
public static int ReadInt32(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadShortLE(Stream)
Declaration
public static int ReadShortLE(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadString(Stream, Int32)
Declaration
public static string ReadString(this Stream stream, int len)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Int32 |
len |
|
Returns
ReadUInt16(Stream)
Declaration
public static int ReadUInt16(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadUInt32(Stream)
Declaration
public static int ReadUInt32(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
ReadWord(Stream)
Declaration
public static int ReadWord(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Reset(Stream)
Declaration
public static void Reset(this Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Skip(Stream, Int32)
Declaration
public static void Skip(this Stream stream, int noOfBytes)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Int32 |
noOfBytes |
|