Fixed to use integer array instead of byte array.