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.164 -- Release Build+6702c515f0dd5ff2666fab734b3300f444325a3e
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