bytearrayserializer written