ImageMan.Net Version 3 Summer 2012 Release
ToUShortArray Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > ExifBitConverter Class : ToUShortArray Method





data
count
frombyteorder

Glossary Item Box

Returns an array of 16-bit unsigned integers converted from the given byte array. Numbers are converted from the given byte-order to platform byte-order.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToUShortArray( _
   ByVal data() As System.Byte, _
   ByVal count As System.Integer, _
   ByVal frombyteorder As BitConverterEx.ByteOrder _
) As System.UShort()
Visual Basic (Usage)Copy Code
Dim data() As System.Byte
Dim count As System.Integer
Dim frombyteorder As BitConverterEx.ByteOrder
Dim value() As System.UShort
 
value = ExifBitConverter.ToUShortArray(data, count, frombyteorder)
C# 
public static System.ushort[] ToUShortArray( 
   System.byte[] data,
   System.int count,
   BitConverterEx.ByteOrder frombyteorder
)
JScript 
public static function ToUShortArray( 
   data : System.byte[],
   count : System.int,
   frombyteorder : BitConverterEx.ByteOrder
) : System.ushort[];
Managed Extensions for C++ 
public: static System.ushort[]* ToUShortArray( 
   System.byte[]* data,
   System.int count,
   BitConverterEx.ByteOrder frombyteorder
) 
C++/CLI 
public:
static System.array<ushort>^ ToUShortArray( 
   System.array<byte>^ data,
   System.int count,
   BitConverterEx.ByteOrder frombyteorder
) 

Parameters

data
count
frombyteorder

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.