ImageMan.Net Version 3 Summer 2012 Release
GetBytes(Single,ByteOrder,ByteOrder) Method
See Also  Send Feedback
DTI.ImageMan.Metadata.Exif Namespace > BitConverterEx Class > GetBytes Method : GetBytes(Single,ByteOrder,ByteOrder) Method





value
from
to

Glossary Item Box

Converts the given single precision floating-point number to an array of bytes.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetBytes( _
   ByVal value As System.Single, _
   ByVal from As BitConverterEx.ByteOrder, _
   ByVal to As BitConverterEx.ByteOrder _
) As System.Byte()
Visual Basic (Usage)Copy Code
Dim value As System.Single
Dim from As BitConverterEx.ByteOrder
Dim to As BitConverterEx.ByteOrder
Dim value() As System.Byte
 
value = BitConverterEx.GetBytes(value, from, to)
C# 
public static System.byte[] GetBytes( 
   System.float value,
   BitConverterEx.ByteOrder from,
   BitConverterEx.ByteOrder to
)
JScript 
public static function GetBytes( 
   value : System.float,
   from : BitConverterEx.ByteOrder,
   to : BitConverterEx.ByteOrder
) : System.byte[];
Managed Extensions for C++ 
public: static System.byte[]* GetBytes( 
   System.float value,
   BitConverterEx.ByteOrder from,
   BitConverterEx.ByteOrder to
) 
C++/CLI 
public:
static System.array<byte>^ GetBytes( 
   System.float value,
   BitConverterEx.ByteOrder from,
   BitConverterEx.ByteOrder to
) 

Parameters

value
from
to

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.