minor compare byte[] type directly.