The macro HAM_API_REVISION is now deprecated; use HAM_VERSION_* instead
Refactored ByteArray class; no functional changes