Moai SDK
2.0
|
Function List | |
getChecksum | |
getHash | |
getHashBase64 | |
getHashHex | |
openAdler32 | |
openCRC32 | |
openCRC32b | |
openWhirlpool | |
setHMACKey | |
Function List inherited from MOAIStreamAdapter | |
close | |
openBase64Reader | |
openBase64Writer | |
openDeflateReader | |
openDeflateWriter | |
openHex | |
Additional Inherited Members | |
Function List inherited from MOAIStream | |
collapse | |
compact | |
flush | |
getCursor | |
getLength | |
read | |
read8 | |
read16 | |
read32 | |
readBoolean | |
readDouble | |
readFloat | |
readFormat | |
readU8 | |
readU16 | |
readU32 | |
seek | |
write | |
write8 | |
write16 | |
write32 | |
writeBoolean | |
writeColor32 | |
writeDouble | |
writeFloat | |
writeFormat | |
writeStream | |
writeU8 | |
writeU16 | |
writeU32 | |
|
Return the checksum (if supported).
function getChecksum ( MOAIHashWriter self )
MOAIHashWriter | self |
|
Return the hash (if supported).
function getHash ( MOAIHashWriter self )
MOAIHashWriter | self |
|
Return the hash, converted to base64.
function getHashBase64 ( MOAIHashWriter self )
MOAIHashWriter | self |
|
Return the hash, converted to hexadecimal.
function getHashBase64 ( MOAIHashWriter self )
MOAIHashWriter | self |
|
Open a Adler32 hash stream for writing. (i.e. compute Adler32 hash of data while writing)
function openAdler32 ( MOAIHashWriter self [, MOAIStream target ] )
MOAIHashWriter | self |
MOAIStream | target Optional. |
|
Open a CRC32 hash stream for writing. (i.e. compute CRC32 hash of data while writing)
function openCRC32 ( MOAIHashWriter self [, MOAIStream target ] )
MOAIHashWriter | self |
MOAIStream | target Optional. |
|
Open a CRC32b hash stream for writing. (i.e. compute CRC32b hash of data while writing)
function openCRC32b ( MOAIHashWriter self [, MOAIStream target ] )
MOAIHashWriter | self |
MOAIStream | target Optional. |
|
Open a Whirlpool hash stream for writing. (i.e. compute Whirlpool hash of data while writing)
function openWhirlpool ( MOAIHashWriter self [, MOAIStream target ] )
MOAIHashWriter | self |
MOAIStream | target Optional. |
|
Set the HMAC key (if supported).
function setHMACKey ( MOAIHashWriter self, string hmac )
MOAIHashWriter | self |
string | hmac |