Gemstone Numeric Library
Show/Hide TOC

# LittleEndianCopyBytes(UInt24, Byte, Int32) Method

Copies the specified 24-bit unsigned integer value as an array of 3 bytes in the target endian-order to the destination array.

## Definition

Namespace: Gemstone.Numeric.UInt24Extensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.138 -- Release Build+88ca978c0cce6d0d3e501e198adb13956063f519
C#
View Source Request Example

    public static int CopyBytes(
    	UInt24 value,
    	byte[] destinationArray,
    	int destinationIndex
    )

VB
View Source Request Example

    Public Shared Function CopyBytes (
    	value As UInt24,
    	destinationArray As Byte(),
    	destinationIndex As Integer
    ) As Integer

C++
View Source Request Example

    public:
    static int CopyBytes(
    	UInt24 value,
    	array<unsigned char>^ destinationArray,
    	int destinationIndex
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.UInt24Extensions.LittleEndian.CopyBytes = function(value, destinationArray, destinationIndex);

#### Parameters

value UInt24
  The number to convert and copy.
destinationArray Byte
  The destination buffer.
destinationIndex Int32
  The byte offset into destinationArray.

#### Return Value

Int32
Length of bytes copied into array based on size of value.

## See Also

#### Reference

LittleEndian Class
CopyBytes Overload
Gemstone.Numeric.UInt24Extensions Namespace