VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImageFileSource Class / ReadUInt16() Method
Syntax Remarks Requirements SeeAlso
In This Topic
ReadUInt16() Method (ImageFileSource)
In This Topic
Reads a 16-bit unsigned integer from the stream of the image file using encoding of this ImageFileSource and advances the position of the stream by two bytes.
Syntax
'Declaration

<CLSCompliantAttribute(False)>
Public Function ReadUInt16() As UShort

[CLSCompliant(False)]
public ushort ReadUInt16()

Return Value

A 16-bit unsigned integer read from the stream of the image file.
Remarks

Encoding (little-endian, big-endian or something else) of the ImageFileSource can be set using ToUInt16 methods.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also