Converts build status to byte array