BitConverter.GetBytes(UInt64) Returns the specified 64-bit unsigned integer value as an array of bytes.
Imports System
Imports System.Globalization
Imports Microsoft.VisualBasic
Module GetBytesUInt64Demo
Sub GetBytesUInt64( argument As UInt64 )
Dim byteArray As Byte( ) = BitConverter.GetBytes( argument )
Console.WriteLine( BitConverter.ToString( byteArray ) )
End Sub
Sub Main( )
GetBytesUInt64( Convert.ToUInt64( 1000000000 ) )
End Sub
End Module