Jaxer.Util.CRC32 : Object
Return to: Jaxer Framework index

Namespace used to hold functions and other objects for using CRC32

Platform Support

Jaxer Server FrameworkJaxer Client Framework
1.0no

Functions

MethodActionJaxer Server FrameworkJaxer Client Framework
static getCRC(Array data, [Number offset,] [Number count]) : Number
Create a CRC32 from an array of bytes. The user may specify the starting offset within the array and the total number of bytes past the offset to include in the resulting CRC32.
Show Details1.0no

Parameters
ArraydataAn array of byte values
Numberoffset(optional)The optional offset within the array where the calculated CRC32 should start
Numbercount(optional)The optional number of bytes starting from the offset to include in the resulting CRC32.

Returns
NumberThe resulting CRC32

See Also

http://en.wikipedia.org/wiki/Cyclic_redundancy_check

static getStringCRC(String text) : Number
Create a CRC32 from the characters of a string
Show Details1.0no

Parameters
StringtextThe source string to convert

Returns
NumberThe resulting CRC32 of the source string

See Also

http://en.wikipedia.org/wiki/Cyclic_redundancy_check

aptana_docs